
Different ways to initialize ChromeDriver The selenium commands will be interpreted by ChromeDriver and it will be executed on Chrome. The driver for Chrome is the ChromeDriver. To overcome the above problem we need to download the ChromeDriver in order to work with selenium commands which we are writing on Chrome. which tells The path to the driver executable must be set by. When you run above program we get an exception called. Launching a Chrome driver is easy for launching as any other driver. Location will be later used to instantiate the driver.Ĭhrome Driver Launching Chrome Browser using Selenium WebDriver Note the location where you extracted the ChromeDriver.

You will be navigated to ChromeDriver download page which contains ChromeDriver for Linux, Mac and Windows operating systems.

The following are the steps to download ChromeDriver.- Step 1: Go to the Chromium official website and download latest version of ChromeDriver based on your operating system Chrome Version

In this article, we will learn- How to download the latest version of Selenium ChromeDriver This executable file starts a server on your system and all your tests will communicate to this server in order to run your tests. Chrome browser implements the WebDriver protocol by using an executable file called ChromeDriver.exe.
