Package org.openqa.selenium.support.ui
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 anExpectedCondition
is not met met by aWait
. See the documentation inWebDriverWait
for more information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeoutException(String message)
Time out a test, indicating why the timeout occurred.TimeoutException(String message, Throwable cause)
Time out a test, indicating why the timeout occurred and giving a cause.
-
Method Summary
-
Methods inherited from class org.openqa.selenium.WebDriverException
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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.
-
-