

Heard about SafariDriver? Learn how to how to run Selenium Tests on Safari using SafariDriver. At the end of the string, enter a semicolon ‘ ’ and paste the path of your ChromeDriver file that you copied earlier, and click OK. Now, from the available options under system variables, select the Path option and click on Editĥ. Now select the Environmental variables from the Advanced tabĤ. Click on the Change settings option and then click on the Advanced tab 3. Right-click on My Computer and click on PropertiesĢ. Follow the steps below to set the path in the environment variables:ġ. Now copy the path where the ChromeDriver file is saved to set the system properties in environment variables. Copy this file to a specific location of your choice. Once the zip file is downloaded for the operating system, unzip it to retrieve the chromedriver.exe executable file.

Step 2 – Retrieve the chromedriver.exe File Refer to the image to get a better sense of ChromeDriver downloads. Users need to download ChromeDriver for their respective Operating systems from this link. One can easily initialize the object of ChromeDriver using the following command: WebDriver driver = new ChromeDriver How to configure ChromeDriver? Step 1 – Download ChromeDriverįirst, download the ChromeDriver. Running Selenium test scripts on the Google Chrome browser is impossible without ChromeDriver. What is a Selenium ChromeDriver?Ī ChromeDriver is a standalone server or a separate executable used by Selenium WebDriver to control Chrome. But before that, let’s understand what ChromeDriver is and how users can configure it on their systems. This article will explain how to perform Selenium tests on a Chrome browser using ChromeDriver. Given its importance and usage, testing all websites on Chrome becomes crucial.

With several useful features, it is one of the most preferred browsers in the world.

Google Chrome dominates the browser market with a massive 64% global market share.
