Selenium tests, Continuous Integration. The HTTP request to the remote WebDriver server for URL http://localhost

我只是一个虾纸丫 提交于 2019-12-13 05:59:50

问题


I am running selenium tests using a cruisecontrol and lot of tests have failed with the same error:

OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:7055/hub/session/18ebd740-f48e-4be2-bd84-a24f645cad2a/element/%7Bf6d3eb90-dadb-46f1-83e9-d022ccfc81fb%7D/click timed out after 60 seconds. 
    ----> System.Net.WebException : The operation has timed out 
    TearDown : System.ArgumentException : Illegal characters in path. 
    at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request) 
    at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute) 
    at OpenQA.Selenium.Firefox.FirefoxDriverCommandExecutor.Execute(Command commandToExecute) 
    at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters) 
    at OpenQA.Selenium.Remote.RemoteWebElement.Click() 
    at OpenQA.Selenium.Support.PageObjects.WebElementProxy.Click() 
    .....

This error occurs when using build server. The same tests work fine if running from VS and NUnit runner.

来源:https://stackoverflow.com/questions/31835690/selenium-tests-continuous-integration-the-http-request-to-the-remote-webdriver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!