


You can download it from the official website of selenium. Selenium: To write selenium automation test scripts, you’d require Selenium to be installed in your system. You can use the same editor or you can use other editors as well. It can be downloaded from the official website of Eclipse. In this case, I have used the Eclipse IDE.

I have used Java 8, JRE-1.8 for the Selenium test automation script execution.Įclipse IDE: To write a test automation script with selenium, you’d require an editor. You can download and install it from the official website for Java. Java/ JDK/JRE: In this guide, I’ll perform automation testing in Selenium with Java, so in order to run the tests I’d need to have Java/JDK/JRE installed in my system. ChromeDriver What Are The Requirements For Selenium ChromeDriver?īefore starting to explore ChromeDriver, there are few prerequisites which should be available on your system. This is the implementation for the Selenium ChromeDriver class: With the help of the Selenium ChromeDriver class, we can easily interact with the Chrome browser and perform automation testing of web applications on the chrome browser. You can refer to this Selenium Webdriver tutorial for cross browser testing to know more about how to perform Selenium testing using WebDriver. It is an implementation of the WebDriver interface which is used to control the Chrome browser running and operations on the local machine. ChromeDriver class extends the WebDriver interface. Selenium WebDriver helps our test script capabilities or power to communicate with the browser. You can create a WebDriver object for Chrome like below: To perform automated browser testing on Chrome browser, ChromeDriver class, a standalone executable, is used by Selenium WebDriver to create communication of our test script with the Chrome browsers. I’ll go into details about the ChromeDriver, starting from download, installation and to use it on Windows and Mac. In this article, I will show you how to use ChromeDriver to perform Selenium test automation.

In case you want to know more about what is Selenium, you can refer to this detailed article on this topic. Using Selenium ChromeDriver, you can communicate with the Chrome browser to perform different operations like navigation from one web page to another web page, users can provide input on the web pages, javascript execution, and many more operations. This is why, as an automation tester, it is important that you perform automated browser testing on Chrome browser.ĬhromeDriver is used along with Selenium to automate tests on the Chrome browser. It is the choice of the majority of users and it’s popularity continues to rise. According to netmarketshare, Google Chrome accounts for 67% of the browser market share.
