Skip to content

ChromeDriverAttribute time out #9

Description

@pbolduc

I have a long running test which times out after 60 seconds with this error:

The HTTP request to the remote WebDriver server for URL http://localhost:16051/session/65a753f16ca91b2035f4564f44781fb4/execute timed out after 60 seconds.

The ChromeDriver class supports a commandTimeout parameter. Adding an extra overload on ChromeDriverAttribute that supports specifying a time out would solve the problem.

 public ChromeDriver(string chromeDriverDirectory, ChromeOptions options, TimeSpan commandTimeout)

TimeSpan is not a valid parameter in an attribute, so I would suggest an integer representing the number of seconds. For example,

[ChromeDriver(commandTimeout=300)]

I can supply a pull request.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions