How to Set Chromedriver Path in Windows?

Posted in  windows | 2022-04-07

How to Run Selenium Tests on Chrome Using ChromeDriver

Go to the terminal and type the command: sudo nano /etc/paths. Enter the password. At the bottom of the file, add the path of your ChromeDriver. Type Y to save.

Where is the Chromedriver Location in Windows?

Create directory C:\bin.
Download chromedriver for Windows and save to C:\bin.
Depending on your Windows version .
Click Advanced system settings.
Click Environment Variables.
Under System Variables, find the PATH variable, select it, and click Edit.

How do I Install Chromedriver Executable in Path?

add it to your system path .
put it in the same directory as your python script.
specify the location directly via executable_path driver = webdriver.Chromeexecutable_path=C:/path/to/chromedriver.exe

Where do I Put Chromedriver?

Now we need to move ChromeDriver somewhere that Python and Selenium will be able to find it (a.k.a. in your PATH ). The easiest place to put it is in C:\Windows . So move it there!

How to Set Chromedriver Path in Selenium