Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium::WebDriver::Error::WebDriverError: unable to connect to chromedriver

Tags:

macos

ruby

watir

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

like image 494
Glen Avatar asked Dec 23 '22 20:12

Glen


1 Answers

gem install webdrivers

Worked for me.

like image 87
Amin Shamim Avatar answered May 01 '23 07:05

Amin Shamim