Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What will resolve the WebDriverError: Connection refused error message?

I cannot run Protractor tests locally, a few days ago I could but now I cannot. I even rebooted Ubuntu. Here are my versions:

$cat /etc/issue
Ubuntu 14.04.5
$node --version
v6.8.0
$npm list -g|grep protractor
└─┬ [email protected]
$webdriver-manager status
[13:49:58] I/status - selenium standalone version available: 2.53.1 [default]
[13:49:58] I/status - chromedriver version available: 2.22 [default]
[13:49:58] I/status - android-sdk is not present
[13:49:58] I/status - appium is not present
$/opt/google/chrome/chrome --version
Google Chrome 54.0.2840.59 unknown    

Here is the stack trace https://paste.fedoraproject.org/449363/35548414/

How can I fix this; are there other versions should I check?

like image 485
ddreian Avatar asked Oct 13 '16 10:10

ddreian


1 Answers

Something broke with the Chrome update yesterday. Get the newest chromedriver from https://sites.google.com/a/chromium.org/chromedriver/downloads and replace your current Protractor chromedriver (should be 2.22) with the newest one (2.24).

like image 62
Salkz Avatar answered Oct 08 '22 10:10

Salkz