ddreian ddreian - 3 months ago 200
Javascript Question

WebDriverError: Connection refused

I cannot run Protractor tests locally. A few days ago I could but now I cannot. I checked versions with other people in my team and it works well for them and I even rebooted Ubuntu. Here are my versions:

$cat /etc/issue
Ubuntu 14.04.5
$node --version
$npm list -g|grep protractor
└─┬ protractor@4.0.9
$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/

What am I doing wrong? How can I fix this? What other software versions should I check?
Thank you


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).