I'm new with Selenium and I have this error:
WebDriverException: WebDriverException: Message: 'chromedriver' executable needs to be in PATH
What this error means and how to fix it?
I'm new with Selenium and I have this error:
WebDriverException: WebDriverException: Message: 'chromedriver' executable needs to be in PATH
What this error means and how to fix it?
This happens when the path for the chromedriver.exe file is wrong.
The chromedriver.exe file can be stored in your local.
Suppose the .exe file is in the C: drive → Chromedriver folder, this would be the correct path:
"C:\Chromedriver\chromedriver.exe"
driver = webdriver.Chrome(executable_path="C:\Chromedriver\chromedriver.exe")