
SearchContext is the topmost interface in Selenium API which has two methods - findElement() and findElements(). Similarly, if we want to execute the test cases in the Chrome browser we have to use ChromeDriver class. If we want to execute your test cases in a Firefox browser we have to use FirefoxDriver class. It even helps us to select the HTML page elements and perform operations on them such as click, filling a form fields etc. The WebDriver main functionality is to control the browser. Some of the implementation classes are AndroidDriver, ChromeDriver, FirefoxDriver, InternetExplorerDriver, IPhoneDriver, SafariDriver etc. However, implementation is provided by the browser specific classes. Selenium WebDriver is an interface that defines a set of methods. Selenium API has provided many classes and interfaces to work with different types of browsers and HTML elements. Selenium automates browser and helps us in automation of web application testing across different browsers. That’s it!! Your Selenium WebDriver is now configured in eclipse IDE.We need browsers to test web applications. You should be able to see selenium jars in the Referenced Libraries.ġ1. Browse to the location where you have extracted the selenium server jar and click open.ġ0. Right click on the Project Root Folder and click on Build Path – >Configure Build Pathĩ. Enter Project Name “FirstWebdriverProject “ and click Finish button.Ħ. If you do not have eclipse installed download eclipse IDE from and install it.ĥ.

Download selenium Webdriver Jars from Selenium HQ website ( ), extract them and place in C:\driveĢ. In this post I will outline the steps to configure selenium webdriver in eclipse IDE.ġ. There is no installable available for selenium webdriver as it is just a jar file which needs to be configured in eclipse IDE before starting to write your test cases in selenium. As we know that Selenium is a suite of tools to automate browsers.
