【发布时间】:2017-11-14 08:41:14
【问题描述】:
我已将webdriverio 设置为与 FF 和 Chrome 一起运行,一切正常。
我正在尝试使用http://webdriver.io/guide/services/iedriver.html 运行相同的测试。
它运行第一个url 命令,但在第二次运行时失败。例如:
browser.url('https://facebook.com'); //navigates to facebook
browser.url('https://google.com'); //fails on this line
哪个抛出:
无法导航到http://google.com。这通常意味着一个 调用 COM 方法 IWebBrowser2::Navigate2() 失败。构建信息: 版本:'3.6.0',修订:'6fbf3ec767',时间: '2017-09-27T16:15:40.131Z' os.name: 'Windows 10', os.arch: 'amd64', os.version: “10.0”,java.version:“1.8.0_151”驱动程序信息:driver.version:未知 运行 Internet Explorer
知道为什么以及如何进行这项工作吗?
【问题讨论】:
-
你可以做一个解决方法,关闭并再次打开标签
-
这给出了一个不同的错误:
Error: A request to switch to a different window could not be satisfied because the window could not be found.
标签: internet-explorer e2e-testing webdriver-io