Skip to content

初始化引擎报错 #16

Description

@wtujvk

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions