chromedriver-update fails #7

mars opened this Issue Aug 22, 2013 · 5 comments

6 participants


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.


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


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

Downloads have been moved to, because Google Code downloads are being deprecated!


Released in 0.0.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment