You should specify the executable file path, not the directory path that contains the executable.
driver = webdriver.Chrome(executable_path=r"C:\Chrome\chromedriver.exe")
More Related Contents:
- how to scrape web page that is not written directly using HTML, but is auto-generated using JavaScript? [closed]
- Selenium: WebDriverException:Chrome failed to start: crashed as google-chrome is no longer running so ChromeDriver is assuming that Chrome has crashed
- How to make Firefox headless programmatically in Selenium with Python?
- unknown error: session deleted because of page crash from unknown error: cannot determine loading status from tab crashed with ChromeDriver Selenium
- ‘Webdrivers’ executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
- USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection error with ChromeDriver v87 / Chrome v87 using Selenium on Windows10
- Why is dictionary ordering non-deterministic?
- How to work with a specific version of ChromeDriver while Chrome Browser gets updated automatically through Python selenium
- Running Selenium WebDriver python bindings in chrome
- Error Message: ‘chromedriver’ executable needs to be PATH
- Getting console.log output from Chrome with Selenium Python API bindings
- Unable to use Selenium to automate Chase site login
- Clicking on Get Data button for Monthly Settlement Statistics on nseindia.com doesn’t fetch results using Selenium and Python
- How to set window size in Selenium Chrome Python
- Scrolling to element using webdriver?
- How do you fix the “element not interactable” exception?
- How to disable CSS in Python selenium using ChromeOptions
- Downloading a file at a specified location through python and selenium using Chrome driver
- How to load extension within chrome driver in selenium with python
- Meaning of end=” in the statement print(“\t”,end=”)? [duplicate]
- SessionNotCreatedException: This version of ChromeDriver only supports Chrome version 84 using ChromeDriver and Chrome through Selenium and Python
- ‘str’ object has no attribute ‘decode’ in Python3
- Python selenium multiprocessing
- ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
- selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable using Selenium
- Removing non numeric characters from a string
- Handle notifications in Python + Selenium Chrome WebDriver
- How to install Chrome Extension using Selenium & Python
- Python: Disable images in Selenium Google ChromeDriver
- Printing subscript in python