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

Webdrivers::VersionError: Unable to find latest point release version for 85.0.4182 #180

Closed
breathe opened this issue Aug 13, 2020 · 8 comments

Comments

@breathe
Copy link

breathe commented Aug 13, 2020

Summary

Getting this error in CI when I try to update chromium:

       Webdrivers::VersionError: Unable to find latest point release version for 85.0.4182. 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

The chromium version installed in my environment is determined by the puppeteer npm module (our app image has some codepaths that automate chromium via selenium from ruby and other codepaths that automate chromium by puppeteer -- puppeteer is tightly coupled to chromium version so we let it decide the version of chromium -- and then use webdrivers to install the compatible selenium drivers needed to support the ruby codepaths ...)

Debug Info

Please provide the following information for bug reports:

  • Webdrivers version:
    webdrivers (4.4.1)
  • Ruby version:
~ $ ruby --version
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
  • Operating system / CI Environment:
heroku stack-18
  • Browser and version:
{"chromiumPath":"./node_modules/puppeteer/.local-chromium/linux-782078/chrome-linux/chrome"}

Expected Behavior

Chromedriver with correct version would be installed

Actual Behavior

Failure about that the needed version doesn't exist

@titusfortner
Copy link
Owner

Technically there is no "correct" version of chromedriver for a non production version of chrome. Webdrivers follows the recommendations specified by Google: https://chromedriver.chromium.org/downloads/version-selection

My default is to stick with Google recommendations and for users to specify what they want if they are doing something special. You should be able to programmatically get the version of chromium installed by the npm and determine what version of chromedriver is close enough for you.

@kapoorlakshya
Copy link
Collaborator

Hi @breathe, do you have what you need from us to resolve this issue? If yes, then I would like to close this issue. Thank you!

@kapoorlakshya
Copy link
Collaborator

Closing due to lack of response.

@breathe Please feel free to open a new issue or comment here if you need further assistance.

@marckohlbrugge
Copy link

I'm running into a similar issue after removing Chrome, and installing Chromium instead. I'd expect it to work out of the box as it did when using Chrome.

I tried explicitly setting the required_version to "89.0.4354.0"but that leads to a 404 when trying to download the file.

Would it be possible to include step-by-step instructions in the Readme for getting webdrivers to work with Chromium?

@kapoorlakshya
Copy link
Collaborator

kapoorlakshya commented Dec 20, 2020

@marckohlbrugge Would you mind creating a new issue? The 404 sounds like a new problem, and will need environment info, especially the OS, to reproduce the Chromium issue. Thanks!

@kapoorlakshya
Copy link
Collaborator

And feel free to link this issue in the new one for context.

@kapoorlakshya
Copy link
Collaborator

I am looking into the 404 error and turns out v89 is not listed on the downloads index - https://chromedriver.storage.googleapis.com/index.html

You'll have to specify a required version indexed on that page.

@marckohlbrugge
Copy link

I am looking into the 404 error and turns out v89 is not listed on the downloads index - https://chromedriver.storage.googleapis.com/index.html

You'll have to specify a required version indexed on that page.

I see. I'm beginning to understand how webdrivers, chromedriver, chrome, and chromium all play together. I've created issue #188 to address this. It would be nice if using webdrivers with Chromium was as easy as it is with Chrome.

armandofox added a commit to armandofox/audience1st that referenced this issue Aug 3, 2023
… not sure why this just started happening - chrome upgrade?
armandofox added a commit to armandofox/audience1st that referenced this issue Aug 3, 2023
… not sure why this just started happening - chrome upgrade?
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