简体   繁体   中英

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. My Selenium Webdriver code works fairly well with Firefox . However, it encounters various problems with Internet Explorer 11 using IEDriverServer .

On one page, when a link is clicked manually (by just launching IE) or by Selenium on FF, a new modal dialog is opened.

在此输入图像描述

However, on a browser opened by IEDriverServer, nothing happens. 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,或者运行具有管理员权限的已编译程序。找到此方法并不容易,毕竟,这不是代码问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM