错误生成VSTS-VSTest任务-OpenQA.Selenium.WebDriverException:向远程WebDriver服务器请求URL的HTTP请求

错误生成VSTS-VSTest任务-OpenQA.Selenium.WebDriverException:向远程WebDriver服务器请求URL的HTTP请求,selenium,build,azure-devops,specflow,iedriverserver,Selenium,Build,Azure Devops,Specflow,Iedriverserver,在我的生成中,发生以下错误: [error]Error Message: [error] Test method PROJECTXPTO.FeatureBDD.NameFeature.NameTestCase_Variant0 threw exception: [error]OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:

在我的生成中,发生以下错误:

[error]Error Message:
[error]   Test method PROJECTXPTO.FeatureBDD.NameFeature.NameTestCase_Variant0 threw exception: 
[error]OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:1337/session/805876aa-c332-4de7-a8a2-3fb0d5bb00c2/url timed out after 60 seconds. ---> System.Net.WebException: The operation has timed out
[error]Stack Trace:
[error]    at System.Net.HttpWebRequest.GetResponse()
[error]   at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
[error]--- End of inner exception stack trace ---
[error]    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
[error]   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
[error]   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
[error]   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
[error]   at OpenQA.Selenium.Remote.RemoteWebDriver.set_Url(String value)
[error]   at OpenQA.Selenium.Remote.RemoteNavigator.GoToUrl(String url)
[error]   at Client.Serc.UI.Test.Configurations.Main.TestInit() in D:\a\1\s\Automation\PROJECTXPTO\PROJECTXPTO\Configuration\Main.Main.Base.UI.cs:line 47
[error]   at lambda_method(Closure , IContextManager )
[error]   at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
[error]   at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.InvokeHook(IBindingInvoker invoker, IHookBinding hookBinding, HookType hookType)
[error]   at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.FireEvents(HookType hookType)
[error]   at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.FireScenarioEvents(HookType bindingEvent)
[error]   at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnScenarioStart(ScenarioInfo scenarioInfo)
[error]   at TechTalk.SpecFlow.TestRunner.OnScenarioStart(ScenarioInfo scenarioInfo)
[error]   at PROJECTXPTO.FeatureBDD.NameFeature.ScenarioSetup(ScenarioInfo scenarioInfo)
[error]   at PROJECTXPTO.FeatureBDD.NameFeature.ValidacoesDeUsuarioESenhaNaTelaDeLogin(String usuario, String senha, String mensagem, String[] exampleTags) in D:\a\1\s\Automation\PROJECTXPTO\PROJECTXPTO\Feature BDD\SPEC.Login.UI.feature:line 9
[error]   at PROJECTXPTO.FeatureBDD.NameFeature.NameTestCase_Variant0() in D:\a\1\s\Automation\PROJECTXPTO\PROJECTXPTO\Feature BDD\SPEC.Login.UI.feature:line 9
我使用specflow 2.3.2、selenium 3.13.1、IEDriverServer 3.9.0

构建由VSTS主机代理执行(代理队列:Hosted VS2017)

我试图在网站上找到一些解决方案,但没有一个对我有效。
有人有什么建议吗?

您正试图根据日志与localhost对话:“”。你是如何在那里创建该网站的?

我试图将IEDriver更新为3.14,但它仍然存在与你使用的
selenium 3.13.1
尝试使用
IEDriver 3.13.1
相同的错误。你能分享详细的日志吗?使用IEDriver 3.13.1工作