I have a wrapper that handles elements being clicked in the browser (it incorporates WebDriverWait
). The final step is element.Click(). This code is used successfully on multiple elements during the test, however, when an tag is clicked that transitions to another page, the IE driver throws this exception:
An exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.dll but was not handled in user code
Additional information: The HTTP request to the remote WebDriver server for URL http://localhost:52368/session/fa3cb036-bbff-45b7-b914-03ed03c86d9c/element/bc89665f-94c3-4829-beee-cff4a106cf87/click timed out after 60 seconds.
The weird thing is that the click completed successfully, and the page transition occurred, but the driver seems to be looking for something else within that click function. The inner exception is:
{"The request was aborted: The operation has timed out."}
and its stack trace is:
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo) at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute) at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute) at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters) at OpenQA.Selenium.Remote.RemoteWebElement.Click()
I followed the steps to setup IE 11 here, and downloaded the version 3.8 of the driver from here (was able to reproduce on the 32-bit version of 3.9).
What