什么将解决WebDriverError:连接被拒绝错误消息? [英] What will resolve the WebDriverError: Connection refused error message?
问题描述
我不能在本地运行Protractor测试,前几天我可以,但现在我不能。我甚至重新启动了Ubuntu。以下是我的版本:
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
└─┬ 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
这是堆栈跟踪 https://paste.fedoraproject.org/449363/35548414/
我该如何解决这个问题;我应该检查其他版本吗?
How can I fix this; are there other versions should I check?
推荐答案
昨天Chrome更新有些问题。从 https://sites.google.com/a/chromium获取最新的chromedriver。 org / chromedriver / downloads 并用最新的(2.24)替换你当前的Protractor chromedriver(应该是2.22)。
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).
这篇关于什么将解决WebDriverError:连接被拒绝错误消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!