硒C#的webdriver IE11问题 [英] Selenium C# Webdriver IE11 issues
问题描述
我是通过什么似乎是用正确的webdriver使用Internet Explorer服务器(IE11)的交互问题挣扎。我有相当多的已撰写,并在Chrome中工作,但是当我尝试使用IE最新的驱动程序服务器来运行完全相同的测试(2.46.0测试 - 从的 http://www.seleniumhq.org/download/ )
I am struggling through what appear to be issues with WebDriver properly interacting with the Internet Explorer Server (IE11). I have quite a number of tests already authored and working in Chrome but when I try to run the exact same tests using the latest IE Driver server (2.46.0 - downloaded from http://www.seleniumhq.org/download/)
我读了一些文章上建立一个注册表项,增加我的网站到受信任站点列表中对可能处理一些这些问题,但我一直未成功(的硒的webdriver在IE11 )
I have read a number of articles on setting up a registry entries and adding my site to the list of trusted sites to to possibly handle a few of these issues but I have been un-successful (Selenium WebDriver on IE11)
在上面的页面,响应链接到Microsoft网站下载IE网页之一驱动程序的IE 11( http://www.microsoft.com/ EN-US /下载/ details.aspx ID = 44069 ),此链接要下载并安装的东西。
Within the page above, one of the responses links to a Microsoft site for downloading IE Web Driver for IE 11 (http://www.microsoft.com/en-us/download/details.aspx?id=44069), this link wants to download and install something.
我的问题:?是否有差异从硒现场兑MS站点的webdriver?
My question: Is there a difference in the WebDriver from the Selenium site versus the MS site?
由于
肖恩
推荐答案
尝试禁用显示为IE浏览器的原生事件在
Try disabling the native event for IE shown as follows
var options = new InternetExplorerOptions { EnableNativeEvents = false };
options.AddAdditionalCapability("disable-popup-blocking", true);
Driver = new InternetExplorerDriver(options);
此外,的 DesireCapabilities 扩展控制驱动程序实例更多的能力。
Also, DesireCapabilities expands the ability of controlling driver instance more.
这篇关于硒C#的webdriver IE11问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!