Skip to content
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

ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_linux64.zip #142

Open
Nitzan-hez opened this issue Jul 20, 2023 · 3 comments

Comments

@Nitzan-hez
Copy link

Nitzan-hez commented Jul 20, 2023

Hi, I am working for long time with Selenium Google Chrome web driver, and received lately failure that I believe that related to heroku-buildpack-google-chrome, since on my local machine it works perfectly but deployment to Heroku not fail (started yesterday)

I receive the following error:

File "/app/.heroku/python/lib/python3.10/site-packages/webdriver_manager/core/http.py", line 33, in get self.validate_response(resp)

File "/app/.heroku/python/lib/python3.10/site-packages/webdriver_manager/core/http.py", line 16, in validate_response
raise ValueError(f"There is no such driver by url {resp.url}")

ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_linux64.zip

The XML do not exist on URL https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_linux64.zip

I checked on my local server, and when I run the script the URL is different:
https://chromedriver.storage.googleapis.com/LATEST_RELEASE_114.0.5735

How do I override the chromedriver version for Python webdriver?

@damianwieteska
Copy link

damianwieteska commented Jul 20, 2023

I have the same issue with my review apps, but using Ruby on Rails framework:

Webdrivers::VersionError: Unable to find latest point release version for 115.0.5790. You appear to be using a non-production version of Chrome. Please set 'Webdrivers::Chromedriver.required_version = <desired driver version>' to a known chromedriver version: https://chromedriver.storage.googleapis.com/index.html

Joining your issue then ;)

@TomVance
Copy link

Pinning to the latest version for us worked with Capybara as a short term fix

Webdrivers::Chromedriver.required_version = '114.0.5735.90'

@kdmgs110
Copy link

@damianwieteska

Same error!

If you are using not latest selenium-webdriver in Ruby on Rails, this issue could have something with gem versions.

mathdugre added a commit to mathdugre/ppmi-scraper that referenced this issue Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants