WebDriverException是从Selenium Grid上的InternetExplorer中的Webdriver.SendKeys生成的

时间:2016-08-18 16:06:55

标签: c# selenium selenium-grid selenium-iedriver

当我尝试在网格上运行IE测试时,我得到了这个堆栈跟踪

enter image description here

如果我在网格上本地运行测试,那么运行正常。我的chrome和firefox测试都在网格上运行没有问题,它似乎只是IE。不确定其他哪些信息会对您有所帮助。我们非常感谢您的建议。

以下是节点的日志。

enter image description here

测试框架:

Selenium standalone server 2.53.1
Selenium.WebDriver 2.53.1 
Selenium.Support 2.53.1
Selenium.WebDriver.IEDriver 2.53.1.1
NUnit 3.4.1
.NET 4.5
   C#

节点设置

Windows Server 2008 R2 6.1
IE 11

2 个答案:

答案 0 :(得分:0)

我的问题不是SendKeys()无法正常工作实际上它只是打字这么慢WebDriverException在打字完成之前被抛出。 https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/3072

答案 1 :(得分:0)

使用64位IE驱动程序时遇到了类似的问题。文本输入速度很慢。切换到32位IE驱动程序可以解决这个问题。