Ale*_*lex 3 selenium selenium-webdriver webdriver-io
我,当我通过控制台执行webdriverIO测试时出现运行时错误.
这是错误无法连接到selenium服务器以执行webdriverIO测试.
我可以通过浏览器访问我的selenium服务器(http:// localhost:4444/wd/hub/static/resource/hub.html)但它仍然无法正常工作.
拜托,任何人都可以帮助我.
非常感谢您的帮助.
你试过这个解决方案吗? https://github.com/webdriverio/webdriverio/issues/602
具体来说,添加:
var options = {
desiredCapabilities: {
browserName: 'chrome'
},
host: 'localhost',
port: 4444
};
为我工作.
| 归档时间: |
|
| 查看次数: |
6807 次 |
| 最近记录: |