OpenQA.Selenium.WebDriverException:“The HTTP request to the remote WebDriver server for URL http://localhost:16938/session timed out after 60 seconds.”
LaunchFireFox
var driver = new FirefoxDriver(fds, option, TimeSpan.FromMinutes(1));
| |
名称 |
值 |
类型 |
| |
StackTrace |
" at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)\r\n at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)\r\n at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)\r\n at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)\r\n at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)\r\n at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)\r\n at OpenQA.Selenium.Firefox.FirefoxDriver..ctor(FirefoxDriverService service, FirefoxOptions options, TimeSpan commandTimeout)\r\n at WeGouSharp.Browser.LaunchFireFox(FirefoxOptions option) in F:\study\github\20190330\WeGouSharp\src\WeGouSharp\Browser.cs:line 97\r\n at WeGouSharp.Browser..ctor(ILog logger, IConfiguration config) in F:\study\github\20190330\WeGouSharp\src\WeGouSharp\Browser.cs:line 48" |
string |
OpenQA.Selenium.WebDriverException:“The HTTP request to the remote WebDriver server for URL http://localhost:16938/session timed out after 60 seconds.”
LaunchFireFox
var driver = new FirefoxDriver(fds, option, TimeSpan.FromMinutes(1));