What is selenium WebDriver for?

What is the use of Selenium WebDriver?

Selenium WebDriver is a tool for automating web browsers. It’s a tool that’s meant to help make testing easier, but it’s also used in many other ways. Selenium WebDriver is not a browser, it’s an API that can control any browser. You can use the API (the interface between the actual code and the browser) to find elements on the page using XPath or CSS selectors, click elements, type text into fields, and do other operations. Many people also use Selenium WebDriver to run tests against different browsers on different operating systems—for example, you could write one test that checks that your site works correctly when viewed in Internet Explorer 7 under Windows XP.

Learn more: What is Selenium WebDriver?