-
Notifications
You must be signed in to change notification settings - Fork 78
Version selection with LATEST_RELEASE is deprecated #79
Comments
@starsirius We've been getting the same error as of today. Please keep us posted, I'll be watching this issue. |
Our specs have started to fail too:
|
Updating Chromedriver to 73.0.3683.68 didn't resolve the issue. Still getting the same error. Looks like people have reported similar incompatibility issue.
|
We temporarily worked around this issue by manually installing the right version: In
|
Our specs have started to fail. An example of a solution with CircleCI: - run:
name: Install Fixed Version ChromeDriver
command: |
rm -rf $HOME/.chromedriver-helper
bundle exec chromedriver-update 73.0.3683.68 |
Hi. (This is an off-topic from the issue title, but may help someone.) We got similar test failure on our tests and found a solution for us. We have Then I found
So I dropped the option, then our tests success 🎉 Thanks. |
Thanks to the above posters I am now using the following script to detect the version of Chrome and install the correct version of Chromedriver, this should follow the official version selection algorithm:
|
@moro This fixed the issue for us as well, thanks so much! |
On Codeship, I was getting a
|
Here's a script that finds the right version of Chromedriver for the version of Chrome installed locally: https://gist.github.com/seanlinsley/36a204862f08942b0667e941331f3a75. It works both on Ubuntu and MacOS. I would open a PR for this gem, but it's not clear to me why chromedriver-helper/lib/chromedriver/helper/google_code_parser.rb Lines 25 to 27 in 5508af7
chromedriver-helper/lib/chromedriver/helper/google_code_parser.rb Lines 36 to 38 in 5508af7
There's also the question of whether |
@seanlinsley do you have a fork we can use to test this with? |
I don't have a fork at the moment, but you can copy that code into your project to test (I put it in |
A PR would be very welcome here, I don't know that I'll have the opportunity to look into this before the weekend. |
@seanlinsley you asked
Yes, |
I'd also like to point everyone at #78 in which I point out some risks around an implementation like the one suggested by @seanlinsley, mainly, that the name and location of the chrome/chromium binary may not be obvious to find and may therefore be problematic in and of itself. |
We are using codeship to run our builds, and this answer fixed our problem for Ruby on Rails. |
I'm going to close this issue, as the gem is being deprecated in favor of webdrivers, see #83. |
We've been getting
chrome not reachable
errors in our CircleCI builds since Chrome 73 was released. It seemed like chromedriver-helper was still installing Chromedriver 2.46 as the error message showedCurrently chromedriver-helper fetches the latest chromedriver version via https://chromedriver.storage.googleapis.com/LATEST_RELEASE. It's now deprecated as in the thread, and we should switch to the new way of version selection.
We are testing if updating to the matching version manually will resolve the issue for the time being:
The text was updated successfully, but these errors were encountered: