-
-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to download webdriver for chrome version 114.0.5735.248 #566
Comments
not able to download for v115 as well
|
@jayph88 are you using the latest web driver manager version? |
yes |
Exception: No such driver version 115.0.5790.110 for win32 There seems to be many people struggling with this. I think webdriver_manager is doing the right thing here... @SergeyPirogov were there any plans to do this, or was this not done on purpose... (in the end its called webdriver manager and not chrome binary manager) |
Google changed version policy. For modern version 115 there is json with download links - |
Should it be looking for correct chromedriver version in here by looking at first 3 digits of chrome version and download it from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json |
Provide a PR |
Interestingly I am able to download and run the correct webdriver on version 3.8.6 for chrome 115, but the latest 3.9.1 doesn't work |
I was getting this error but for the v115 version. EDIT: 115.0.5790.110 is not on the gogoelchromelabs repository, so that's why it's failing. |
I am facing the same issue! |
@chermdev won't your solution pull the driver for the first patch set of the version? Wouldn't it better to pull the most recent patch set for the version? |
Try v4.0.0 |
I worked around this issue by using |
I disagree, surely web driver manager should provide the correct URL for downloading. But it gets a bad URL as you say. https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json or https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json Using these endpoints, the invalid driver(115.0.5790.110) isn't included If we need to define the version ourselves, surely this defeats the purpose of webdriver manager? EDIT: Its seems to be fixed in 4.0 |
Thanks 4.0.0 fixes the issue of getting an invalid download URL for 115. Just FYI, the console still refers to the unavailable version in the cache. Doesnt affect functionality as far as I can see.
|
How to install webdriver-manager version 4.0.0? I have an error when I am trying "pip install webdriver-manager==4.0.0" ERROR: No matching distribution found for webdriver-manager==4.0.0 |
@aleksandrvasilyev try now |
@SergeyPirogov it works, thank you! But now I have another error "selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary" This may be because I am using Chrome version "115.0.5790.114" but the driver doesn't exist for this version. |
Add path to the browser as in example here
|
Provide details about os and browser version. |
Its working now. Some issues at my end. Apologies. |
I am also running into an issue with Chrome 115 on v4.0.0. Relevant details:
When running the sample code for Chrome on Selenium 4; I get the following traceback and stacktrace:
Update/edit: For what it’s worth, seeing as the error comes from selenium, a |
It looks like there is a bug with the M115 chromedriver on macOS specifically which is likely what I’m encountering since webdriver-manager is downloading a correct binary: https://bugs.chromium.org/p/chromium/issues/detail?id=1466427 |
You could use the below code for the 114++ Chrome version! selenium 4
|
@kawsarlog I am getting the following error when I use your suggested configuration
|
Yes, next release I will move unternal code to use pybrowsers |
@dbarbuzzi it's a selenium bug SeleniumHQ/selenium#12381 not detecting the Chrome browser location by default in Mac. As a workaround we can use pybrowsers to get the path of your browser.
import browsers
path = browsers.get('chrome')['path'] and add the binary path to the options with import sys
import browsers
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager
options = webdriver.ChromeOptions()
if sys.platform == "darwin":
options.binary_location = browsers.get('chrome')["path"]
service = Service(ChromeDriverManager().install())
driver = webdriver.Chrome(options=options, service=service) reference of the example:
|
@kawsarlog
|
@chermdev It seems that 3.9.11 with ChromeDriverManager("114.0.5735.16").install() having no issue
|
There is no such parameter ChromeDriverManager("114.0.5735.16").install() |
This is the Temporary fix for me |
I get an error for this solution, working on macOS 2023-07-31 13:19:21,645 INFO ====== WebDriver manager ======
|
chrome version: Version 114.0.5735.248 (Official Build) widows
webdriver-manager version 3.9.1
normally it should be checking for latest driver for current chrome by passing first 3 version numbers
https://chromedriver.storage.googleapis.com/LATEST_RELEASE_114.0.5735 => 114.0.5735.90 then search chromedriver in here
https://chromedriver.storage.googleapis.com/
The text was updated successfully, but these errors were encountered: