Class TimeoutException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openqa.selenium.WebDriverException
org.openqa.selenium.support.ui.TimeoutException
All Implemented Interfaces:
Serializable

public class TimeoutException extends org.openqa.selenium.WebDriverException
A simple exception that is thrown if an ExpectedCondition is not met met by a Wait. See the documentation in WebDriverWait for more information.
See Also:
  • Constructor Details

    • TimeoutException

      public TimeoutException(String message)
      Time out a test, indicating why the timeout occurred.
    • TimeoutException

      public TimeoutException(String message, Throwable cause)
      Time out a test, indicating why the timeout occurred and giving a cause.