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 an
ExpectedCondition
is not met met by a Wait
. See the
documentation in WebDriverWait
for more information.- See Also:
-
Field Summary
Fields inherited from class org.openqa.selenium.WebDriverException
BASE_SUPPORT_URL, DRIVER_INFO, SESSION_ID
-
Constructor Summary
ConstructorsConstructorDescriptionTimeoutException
(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 Details
-
TimeoutException
Time out a test, indicating why the timeout occurred. -
TimeoutException
Time out a test, indicating why the timeout occurred and giving a cause.
-