【发布时间】:2014-01-08 20:37:02
【问题描述】:
我正在使用 Selenium 开发 Windows 应用程序以测试网站。
根据要求之一,我使用了 .net 的模拟概念,然后我尝试启动 IE webdriver,如下所示
// Please assume I set the IEDriver.exe to the correct path
IwebDriver driver = new InternetExplorerDriver(IEDriver.exe path which is in my local machine);
然后我面临错误
Unexpected error launching Internet Explorer. Could not get document from window handle(NoSuchDriver)
感谢任何帮助.....
【问题讨论】:
-
给我们你正在使用的 Selenium 版本,以及你正在使用的 iedriver 版本。
-
我正在使用 2.39.0 版本的 selinium 和 2.39.0 版本的 IEdriver
标签: .net selenium selenium-webdriver impersonation