You can download ChromeDriver here:
https://sites.google.com/chromium.org/driver/
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")
More Related Contents:
- selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH error with Headless Chrome
- How to open a Chrome Profile through Python
- How to make Selenium not wait till full page load, which has a slow script?
- How to use Chrome Profile in Selenium Webdriver Python 3
- WebDriverException: unknown error: cannot find Chrome binary error with Selenium in Python for older versions of Google Chrome
- How to allow or deny notification geo-location microphone camera pop up
- Change ChromeOptions in an existing webdriver
- WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127
- InvalidArgumentException: Message: invalid argument: user data directory is already in use error using –user-data-dir to start Chrome using Selenium
- selenium.common.exceptions.WebDriverException: Message: invalid session id using Selenium with ChromeDriver and Chrome through Python
- What is the fastest way to open urls in new tabs via Selenium – Python?
- Failed to read descriptor from node connection: A device attached to the system is not functioning error using ChromeDriver Selenium on Windows OS
- WebDriverException: Message: Service /usr/lib/chromium-browser/chromedriver unexpectedly exited on Raspberry-Pi with ChromeDriver and Selenium
- How to download XML files avoiding the popup This type of file may harm your computer through ChromeDriver and Chrome using Selenium in Python
- urllib3.exceptions.ProtocolError: (‘Connection aborted.’, error(10054, ‘An existing connection was forcibly closed by the remote host’))
- How do I pass options to the Selenium Chrome driver using Python?
- DeprecationWarning: use options instead of chrome_options error using ChromeDriver and Chrome through Selenium on Windows 10 system
- Selenium Python: How to web scrape the element text
- Selenium on MAC, Message: ‘chromedriver’ executable may have wrong permissions
- Chromedriver, Selenium – Automate downloads
- TypeError: ‘module’ object is not callable error with driver=webdriver(“C:\\Python34\\Lib\\site-packages\\selenium\\webdriver\\chromedriver.exe”)
- Undetected Chromedriver not loading correctly
- Chrome crashes after several hours while multiprocessing using Selenium through Python
- Use Selenium with Brave Browser pass service object written in python
- How to solve ‘Getting Default Adapter failed’ error when launching Chrome and try to access a webpage using the ChromeDriver using Selenium
- Chrome browser initiated through ChromeDriver gets detected
- WebDriverException: Service U:/Scraping/chromedriver.exe unexpectedly exited. Status code was: 1 while working with Chrome and Python
- Selenium – Python – AttributeError: ‘WebDriver’ object has no attribute ‘find_element_by_name’
- Handle notifications in Python + Selenium Chrome WebDriver
- How to get the localStorage with Python and Selenium WebDriver