Charles Morrison
Charles Morrison

Reputation: 428

c# selenium internet explorer timeout

I am having timeout issues late into my selenium test when calling driver.WindowHandles.

I want to increase the timeout default of 60 seconds in the IE driver.

error message;

ex = {"The HTTP request to the remote WebDriver server for URL http://localhost:43196/session/3385234a-4378-419a-9e3a-c59e6b0f7913/window timed out after 60 seconds."}

Upvotes: 0

Views: 2126

Answers (1)

Charles Morrison
Charles Morrison

Reputation: 428

it was rather simple to increase the timespan of requests

InternetExplorerDriver driver = new InternetExplorerDriver(@"c:\path", options, TimeSpan.FromMinutes(2));

Upvotes: 1

Related Questions