Package org.openqa.selenium
Class UnhandledAlertException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openqa.selenium.WebDriverException
org.openqa.selenium.UnhandledAlertException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.openqa.selenium.WebDriverException
BASE_SUPPORT_URL, DRIVER_INFO, SESSION_ID
-
Constructor Summary
ConstructorDescriptionUnhandledAlertException
(String message) UnhandledAlertException
(String message, String alertText) -
Method Summary
Methods inherited from class org.openqa.selenium.WebDriverException
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getHostInformation, getMessage, getRawMessage, getSupportUrl, getSystemInformation
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnhandledAlertException
-
UnhandledAlertException
-
-
Method Details
-
getAlertText
- Returns:
- the text of the unhandled alert.
-
getAlert
-