-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
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.