Selenium IEdriver issue "WebDriverException : The HTTP request to the remote WebDriver server for URLxxxx timed out after 60 seconds." Selenium IEdriver issue "WebDriverException : The HTTP request to the remote WebDriver server for URLxxxx timed out after 60 seconds." selenium selenium

Selenium IEdriver issue "WebDriverException : The HTTP request to the remote WebDriver server for URLxxxx timed out after 60 seconds."


This error message...

WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:16639/session timed out after 60 seconds.

...implies that the IEDriverServer was unable to initiate/spawn a new WebBrowsing Session i.e. InternetExplorer Browser session.

It is a known issue as per the following references:

This issue have been addressed through the following commit:

Solution

  • Upgrade JDK to recent levels JDK 8u171.
  • Upgrade Selenium to current levels Version 3.12.0.
  • Upgrade IEDriverServer to current IEDriverServer v3.12.0 level.
  • Clean your Project Workspace through your IDE and Rebuild your project with required dependencies only.
  • Use CCleaner tool to wipe off all the OS chores before and after the execution of your test Suite.
  • Take a System Reboot.
  • Execute your @Test.
  • Always invoke driver.quit() within tearDown(){} method to close & destroy the WebDriver and Web Client instances gracefully.