Selenium org.seleniumhq.selenium 3.141.59 – org.openqa.selenium.net.UrlChecker$TimeoutException on URI /status

Issue

During the selenium test execution, for some reason, there is a random port checker on URI

/status

and looks like that

org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:9638/status]

The Selenium java client is trying with different/random TCP ports.

We are using Selenium Grid and there is one correct node registered and ready to go.

Solution

This error message…

org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:9638/status]

…implies that there is a issue with the guava version.

Two major reasons for this error are as follows:

  • Presence of multiple versions of guava.
  • Incompatible version of guava.

Solution

A potential solution would be to replace all the existing/previous versions of guava with the latest version. However, the best solution will be to upgrade to the latest Selenium v4.1.0.

Answered By – undetected Selenium

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published