|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openqa.selenium.WebDriverException
org.openqa.selenium.UnhandledAlertException
public class UnhandledAlertException
| Field Summary |
|---|
| Fields inherited from class org.openqa.selenium.WebDriverException |
|---|
DRIVER_INFO, SESSION_ID |
| Constructor Summary | |
|---|---|
UnhandledAlertException(String commandName)
|
|
UnhandledAlertException(String commandName,
String alertText)
|
|
| Method Summary | |
|---|---|
Alert |
getAlert()
Deprecated. To be removed in 2.31, use getAlertText() instead. |
String |
getAlertText()
Returns the text of the unhandled alert. |
| Methods inherited from class org.openqa.selenium.WebDriverException |
|---|
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnhandledAlertException(String commandName)
public UnhandledAlertException(String commandName,
String alertText)
| Method Detail |
|---|
public String getAlertText()
@Deprecated public Alert getAlert()
getAlertText() instead.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||