Answers for "WebDriverException: 'chromedriver' executable needs to be in PATH"

2

Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

You can download ChromeDriver here: https://sites.google.com/a/chromium.org/chromedriver/downloads

Then you have multiple options:

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.Chrome(executable_path='C:/path/to/chromedriver.exe')
Posted by: Guest on February-03-2021
4

raise WebDriverException( selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(ChromeDriverManager().install())
Posted by: Guest on June-02-2020

Code answers related to "WebDriverException: 'chromedriver' executable needs to be in PATH"

Python Answers by Framework

Browse Popular Code Answers by Language