-
-
Notifications
You must be signed in to change notification settings - Fork 453
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
Chrome Driver can not be installed with LATEST_RELEASE_115.0.5790 tag #536
Comments
this is due to change of hosting path. the latest version is hosted at: https://googlechromelabs.github.io/chrome-for-testing/#stable |
should update to use improper quick fix:changed webdriver_manager/webdriver_manager/drivers/chrome.py line 48 and initiate with specified url, e.g.: |
someone pls submit a PR to fix this |
I had the same issue and reached this issue. Once you download the driver from the new URL as a provisional response and specify the path, it will work. example
There was also an announcement on the official download page. |
Facing the same issue, any chance we can get an experimental branch of webdriver_manager that at least partially fixes this? |
Hey guys, |
This is the quick & dirty code to get URL for specific version:
This can be used in webdriver_manager/webdriver_manager/drivers/chrome.py, if version is 115.0.5790.98 or higher. |
Here is a PR - #537 to patch the issue with version 155.0.5790.98 and higher |
A workaround (I am OK storing right into
And then ...
driver = webdriver.Chrome(
service=Service(executable_path="/chromedriver-linux64/chromedriver"),
options=wd_options,
)
... these imports:
|
working patched version until #537 is merged |
What's the status of this? |
pending merge of #537 |
+1 |
2 similar comments
+1 |
+1 |
Thank you David for the fix. Is there an estimated timeline for when this will be merged? |
@abilash-c It's been approved by 3 users, so It should be pretty soon. I know its an in demand fix! |
for the time being, I've updated my testing pipelines with the following additional pip install logic after my main pip install command. I'll delete it once the merge goes through
|
How can I fix my application without waiting for the pull request to be accepted? 😥 |
@phcamargo23 What os are you using, we are finishing up MacOs with recent chrome versions now. if its linux, checkout the above comment |
I've updated my files with the pull request that @david-engelmann provided, but I'm running into another issue. Is it not possible to download the driver for a specific chrome version after 115? My chrome is automatically updated by my employer, and currently I'm using 115.0.5790.99 while the latest stable in the API is 115.0.5790.98. Could it just be that the latest stable hasn't been updated in the endpoint? |
correct what's in the google chrome endpoints is not in our control, you can checkout the chrome-for-testing endpoints for what versions they are supporting |
Google also recommends using chrome for testing rather than the commercial version of chrome. Will webdriver manager only work with the normal chrome? |
@QAthulhu webdriver manager uses the chrome-for-testing endpoints for the recent chrome versions |
On Mac, I had done some more modifications after following your steps: Below code solved the problem of chrome binary not found and in the below code I had to provide the hard coded path of my chromedriver
|
Possible temporary solution while we are waiting FIX. As wrote yacov-ma - set version you need BUT! So, remove version of chrome you have already used. Install new chrome version. Finally, in code add extra option where you set it.
|
Fixed in 3.9.0 |
@david-engelmann @SergeyPirogov File "C:\Users\xxx\Anaconda3\envs\xxx\lib\site-packages\webdriver_manager\drivers\chrome.py", line 89, in get_url_for_version_and_platform I solved this error by updating Chrome but why was the older version not mentioned on that website? Do you know if this happens often? Thanks in advance! |
@abilash-c I'm not sure why some versions are supported and others aren't but the best place to ask is the chrome-for-testing repo. They also have a google group that they are responsive on! |
@david-engelmann @SergeyPirogov (cc/ @abilash-c) This seems to be a broken feature.
|
I dont know. Ask People from Google |
Hi, Person from Google here :D We only released ChromeDriver via CfT infrastructure in M115, so older versions are not available via the new endpoints. |
Thank you for your reply! We are looking for two solutions. |
I think this is because it's using the new endpoints for version 114. I have on my fork 115 as the min version for the new endpoints. It was mentioned in the original pull request that the criteria for should be 115 or greater but the package author probably didn't follow the whole thread and just saw 113 in the new endpoints |
is this only supposed to work with Chrome for Testing? I've noticed that if only Chrome is installed it doesn't work, getting error Encountered an Error: Message: unknown error: cannot find Chrome binary But as soon as chrome for testing is installed it works. I don't think it was announced that all users need to migrate to chrome for testing |
Why there is no 115.0.5790.99 in https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json? |
I github action I have just google-chrome and it works fine. The only issue with MacOS, but I see that they had an assiue GoogleChromeLabs/chrome-for-testing#30 |
Ah yes I was running it on Mac OS. Thanks, this seems to be an issue with ChromeDriver itself |
If this problem is still not solved, you can try this code snippet that I wrote which downloads chromedriver from the latest hosted links: https://github.com/TufayelLUS/Python-Selenium-Automated-Chromedriver-Update |
https://chromedriver.storage.googleapis.com website doesn't have a tag LATEST_RELEASE_115.0.5790
The most recent tags I see are the following
The text was updated successfully, but these errors were encountered: