无法 运行 WebDriverIo 教程
Unable to run WebDriverIo tutorial
我正在尝试按照 http://webdriver.io/guide.html 上的 WebDriverIo 教程进行操作。
设置 Selenium 服务器后,当我尝试执行测试节点脚本(教程中的第 7 步)时,selenium 警告我一些错误(完整日志见屏幕截图),我没有得到任何输出返回。
重现步骤:
我启动了 Selenium 服务器
当我尝试 运行 节点脚本时,发生了这种情况(时钟缩放):
此时 Firefox window 自动打开,并保持空白。
我是 运行 Firefox v52 和 Selenium 3.0.1。我从 https://github.com/mozilla/geckodriver/releases
下载了 Geckodriver
我遗漏了什么明显的东西吗?我对 Selenium 和浏览器自动化很陌生,请原谅通用输入:)
如果您来这里是为了获取 Windows 版本的 gecko 驱动程序:https://github.com/mozilla/geckodriver/releases,您可能错过了这条消息:
"IMPORTANT: If you use geckodriver with Selenium, you must upgrade to
Selenium 3.3 since this release aligns HTTP responses with the
WebDriver standard."
(我可以看到你在v3.0.1)。
我正在尝试按照 http://webdriver.io/guide.html 上的 WebDriverIo 教程进行操作。
设置 Selenium 服务器后,当我尝试执行测试节点脚本(教程中的第 7 步)时,selenium 警告我一些错误(完整日志见屏幕截图),我没有得到任何输出返回。
重现步骤:
我启动了 Selenium 服务器
当我尝试 运行 节点脚本时,发生了这种情况(时钟缩放):
此时 Firefox window 自动打开,并保持空白。
我是 运行 Firefox v52 和 Selenium 3.0.1。我从 https://github.com/mozilla/geckodriver/releases
下载了 Geckodriver我遗漏了什么明显的东西吗?我对 Selenium 和浏览器自动化很陌生,请原谅通用输入:)
如果您来这里是为了获取 Windows 版本的 gecko 驱动程序:https://github.com/mozilla/geckodriver/releases,您可能错过了这条消息:
"IMPORTANT: If you use geckodriver with Selenium, you must upgrade to Selenium 3.3 since this release aligns HTTP responses with the WebDriver standard."
(我可以看到你在v3.0.1)。