Selenium::WebDriver::Error::WebDriverError: unable to connect to chromedriver
11,623
gem install webdrivers
Worked for me.
Related videos on Youtube
Comments
-
Glen almost 2 years
In irb I do the following:
require "watir" b = Watir::Browser.new :chrome
I then get the following error:
Selenium::WebDriver::Error::WebDriverError: unable to connect to chromedriver 127.0.0.1:9515
OSX 10.12.3 Ruby 2.3.1 Chrome Driver latest version Watir 6.2.0
-
max pleaner about 7 yearsyou need to download the driver, see stackoverflow.com/questions/27719345/…
-
titusfortner about 7 yearsyou can
gem install webdrivers
and it will automatically keep your system up to date with the latest version of any driver being used -
anka almost 6 yearsWe had to hand over the path to the chromedriver bin when using it on heroku. See my detailed answer here stackoverflow.com/a/50781946/135160
-