Chrome WebDriver Test with Selenium Python API


How to use Chrome WebDriver with Google ChromeDriver?



If you are using the Chrome WebDriver with the Selenium Python API, you need to make 'chromedriver' executable available in PATH environment variable.

1. Include path name of the 'chromedriver' executable in PATH environment variable.

C:\fyicenter> dir \fyicenter\selenium\chromedriver
         8,393,728 chromedriver.exe

C:\fyicenter>set path=\fyicenter\selenium\chromedriver;%path%

2. Run the again.

C:\fyicenter> python 

DevTools listening on 

You see that the Chrome browser is started and stopped correctly with no errors.


⇒ Selenium Chrome WebDriver Logging in Python

⇐ Chrome WebDriver Script with Selenium Python API

⇑ Starting with Selenium WebDriver Client Python API

⇑⇑ Selenium Tutorials

2019-11-21, 1079👍, 0💬