[英]Selenium WebDriver Internet Explorer IEDriverServer Blocks Modal Dialog
I'm testing an application that opens a lot of modal dialogs using Javascript window.showModalDialog
method. 我正在测试一个使用Javascript
window.showModalDialog
方法打开大量模态对话框的应用程序。 My Selenium Webdriver code works fairly well with Firefox
. 我的Selenium Webdriver代码与
Firefox
运行良好。 However, it encounters various problems with Internet Explorer 11 using IEDriverServer
. 但是,它使用
IEDriverServer
遇到Internet Explorer 11的各种问题。
On one page, when a link is clicked manually (by just launching IE) or by Selenium on FF, a new modal dialog is opened. 在一个页面上,当手动单击链接(通过启动IE)或通过FF上的Selenium单击时,将打开一个新的模式对话框。
However, on a browser opened by IEDriverServer, nothing happens. 但是,在IEDriverServer打开的浏览器上,没有任何反应。 I can't even click on it manually either.
我甚至无法手动点击它。 It's as if there's an invisible layer of something that's blocking this instance of the browser altogether.
这就好像有一个看不见的东西层,完全阻止了这个浏览器实例。
Any advice is greatly appreciated! 任何意见是极大的赞赏! Thanks!
谢谢!
我遇到了类似的问题.IdDriver对此不负责任。我建议您使用管理员权限运行vs,或者运行具有管理员权限的已编译程序。找到此方法并不容易,毕竟,这不是代码问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.