ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/115.0.5790/chromedriver_linux64.zip
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?
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 ;)
Pinning to the latest version for us worked with Capybara as a short term fix
Webdrivers::Chromedriver.required_version = '114.0.5735.90'
@damianwieteska
Same error!
If you are using not latest selenium-webdriver in Ruby on Rails, this issue could have something with gem versions.
- https://github.com/titusfortner/webdrivers/issues/247