What is ChromeDriver in Selenium?

Can anyone please explain me the term ChromeDriver in Selenium.

To perform automated browser testing on Chrome browser, you’ll need a ChromeDriver class standalone executable, used by Selenium Webdriver to connect the test scripts to Chrome browser.

You can create a WebDriver object for Chrome by using the following code:

 //Creating WebDriver object for Chrome browser
    WebDriver driver =  new ChromeDriver();

Through the Selenium ChromeDriver class, you can connect with the Chrome browser & perform automated browser testing of your web-apps.

You can implement Selenium ChromeDriver class by this method:


1 Like