Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

chromedriver-update fails #7

Closed
mars opened this issue Aug 22, 2013 · 5 comments
Closed

chromedriver-update fails #7

mars opened this issue Aug 22, 2013 · 5 comments

Comments

@mars
Copy link
Contributor

mars commented Aug 22, 2013

The most recent Chrome update introduced a breaking change.

So, I unsuccessfully attempted the built-in chromedriver updater.

% chromedriver-update
curl: (6) Could not resolve host: http; nodename nor servname provided, or not known
/Users/mars/.rvm/gems/ruby-1.9.3-p392/gems/chromedriver-helper-0.0.5/lib/chromedriver/helper.rb:23:in `block in download': Could not download http: (RuntimeError)
  from /Users/mars/.rvm/gems/ruby-1.9.3-p392/gems/chromedriver-helper-0.0.5/lib/chromedriver/helper.rb:20:in `chdir'
  from /Users/mars/.rvm/gems/ruby-1.9.3-p392/gems/chromedriver-helper-0.0.5/lib/chromedriver/helper.rb:20:in `download'
  from /Users/mars/.rvm/gems/ruby-1.9.3-p392/gems/chromedriver-helper-0.0.5/lib/chromedriver/helper.rb:31:in `update'
  from /Users/mars/.rvm/gems/ruby-1.9.3-p392/gems/chromedriver-helper-0.0.5/bin/chromedriver-update:5:in `<top (required)>'
  from /Users/mars/.rvm/gems/ruby-1.9.3-p392/bin/chromedriver-update:19:in `load'
  from /Users/mars/.rvm/gems/ruby-1.9.3-p392/bin/chromedriver-update:19:in `<main>'
  from /Users/mars/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
  from /Users/mars/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'

As a workaround, I manually downloaded & copied the newest chromedriver over the old one.

@lazylester
Copy link

looks as if google changed their urls and the regex in /lib/chromedriver/helper.rb:36 no longer matches the url
change it to url = downloads.grep(/chromedriver_#{platform}.*.zip/).first
and it'll work

@kronn
Copy link

kronn commented Oct 4, 2013

As far as I can tell, the download page has been moved.

Downloads have been moved to http://chromedriver.storage.googleapis.com/index.html, because Google Code downloads are being deprecated!

@tispratik
Copy link

+1

@GeoffTidey
Copy link

+2

@flavorjones
Copy link
Owner

Released in 0.0.6.

gnclmorais pushed a commit to gnclmorais/ferret that referenced this issue Mar 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants