Skip to content

Instantly share code, notes, and snippets.

Created October 15, 2016 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/fbf8c3d7d45fae657535062fdec5cbee to your computer and use it in GitHub Desktop.
Save anonymous/fbf8c3d7d45fae657535062fdec5cbee to your computer and use it in GitHub Desktop.
I run my Ruby script
require 'watir-webdriver'
b = Watir::Browser.new :chrome #<--- OFFENDING LINE
It stalls in terminal and I get this error message about 25 seconds later:
https://gist.github.com/anonymous/8939d7cd5bf39b7e7a36240b614985bc
---
System Information:
I believe I have installed Chrome, however, I'm not sure, but these lines were executed:
`sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'`
`sudo apt-get install google-chrome-stable`
chromedriver is installed and is located in `/usr/local/bin` and was installed using the following command lines:
`wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip && sudo unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/;`
`watir-webdriver (0.9.3)` shows up in my list of gems
`ruby -v` returns `ruby 2.0.0p648 (2015-12-16 revision 53162) [x86_64-linux]`
---
Question:
-
Why do I get this error, and how can I fix it?
---
I can provide more details if requested.=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment