org.openqa.selenium
Class UnhandledAlertException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openqa.selenium.WebDriverException
                  extended by org.openqa.selenium.UnhandledAlertException
All Implemented Interfaces:
Serializable

public class UnhandledAlertException
extends WebDriverException

See Also:
Serialized Form

Constructor Summary
UnhandledAlertException(String commandName)
           
UnhandledAlertException(String commandName, String alertText)
           
 
Method Summary
 Alert getAlert()
           
 
Methods inherited from class org.openqa.selenium.WebDriverException
getBuildInformation, getDriverInformation, 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

UnhandledAlertException

public UnhandledAlertException(String commandName)

UnhandledAlertException

public UnhandledAlertException(String commandName,
                               String alertText)
Method Detail

getAlert

public Alert getAlert()


Copyright © 2012. All Rights Reserved.