[英]Selenium Driver Service not found exception
I am new to Selenium. 我是硒的新手。 While going through simple tutorial, I got stuck with above exception.
在阅读简单教程时,我陷入了上述异常。 The error is related in initialization itself:
该错误与初始化本身有关:
[TestInitialize()]
public void MyTestInitialize()
{
var capabilitiesInternet = new OpenQA.Selenium.Remote.DesiredCapabilities();
capabilitiesInternet.SetCapability("ignoreProtectedModeSettings",true);
WebDriver = new InternetExplorerDriver();
}
The error looks as here while the dlls are present as seen here . 该错误看起来像这里,而dll存在,如这里所见。 Please help!!
请帮忙!!
you are missing IEDriverServer.exe in your directory. 您在目录中缺少IEDriverServer.exe。 You can get them from here: https://www.nuget.org/packages/WebDriver.IEDriverServer.win32
您可以从这里获取它们: https : //www.nuget.org/packages/WebDriver.IEDriverServer.win32
Or directly from here: 或直接从这里:
http://selenium-release.storage.googleapis.com/index.html?path=2.46/ http://selenium-release.storage.googleapis.com/index.html?path=2.46/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.