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 WebDriverException
BASE_SUPPORT_URL, DRIVER_INFO, SESSION_ID -
Constructor Summary
ConstructorsConstructorDescriptionUnhandledAlertException(String message) UnhandledAlertException(String message, @Nullable String alertText) -
Method Summary
Methods inherited from class WebDriverException
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getHostInformation, getMessage, getRawMessage, getSupportUrl, getSystemInformationMethods inherited from class 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
-