I was working on my selenium project my chrome version is 114.0.5735.134 but i don't find the latest chrome driver here https://chromedriver.chromium.org/downloads
how can I run my script?
I was working on my selenium project my chrome version is 114.0.5735.134 but i don't find the latest chrome driver here https://chromedriver.chromium.org/downloads
how can I run my script?
Google recently has changed the build process for Chrome and ChromeDriver. Going forward, all the releases will be available at https://googlechromelabs.github.io/chrome-for-testing/. This is done to streamline the Chrome and ChromeDriver versions. Now each Chrome release would have its corresponding same version available.
More details can be found at the following links- https://developer.chrome.com/blog/chrome-for-testing/
Not sure which selenium version are you using. If you are using Selenium v4.6.0
or above, you don't have to worry about downloading the chromedrover.exe
. Selenium's new tool known as SeleniumManager
will do the job of auto downloading and managing it for you.
Reference:
Python code can be as simple as below:
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://www.google.com")
If you still want to manually download and use the chromedriver
, then you can use the latest version 114.0.5735.90
. See below for explanation:
Reference: https://sites.google.com/a/chromium.org/chromedriver/downloads/version-selection
Incase you are using Selenium v4.6 and above you don't need to explicitly download ChromeDriver, GeckoDriver or any browser drivers as such. You just need to ensure that the desired browser client i.e. google-chrome, firefox or microsoft-edge is installed. Selenium Manager is the new tool that would help to get a working environment to run Selenium out of the box. Beta 1 of Selenium Manager will configure the browser drivers for Chrome, Firefox, and Edge if they are not present on the PATH
.
As a solution you can simply do:
from selenium import webdriver
driver = webdriver.Chrome()
you can download any driver supports chrome version 114
© 2022 - 2024 — McMap. All rights reserved.