org.openqa.selenium
Class WebDriverException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               org.openqa.selenium.WebDriverException
org.openqa.selenium.WebDriverException
- All Implemented Interfaces: 
- Serializable
- Direct Known Subclasses: 
- ElementNotVisibleException, IllegalLocatorException, ImeActivationFailedException, ImeNotAvailableException, InvalidCookieDomainException, InvalidCoordinatesException, InvalidElementStateException, MoveTargetOutOfBoundsException, NotFoundException, SessionNotCreatedException, StaleElementReferenceException, TimeoutException, UnableToSetCookieException, UnhandledAlertException, UnsupportedCommandException, XPathLookupException
- public class WebDriverException 
- extends RuntimeException
- See Also:
- Serialized Form
 
 
 
 
 
SESSION_ID
public static final String SESSION_ID
- See Also:
- Constant Field Values
DRIVER_INFO
public static final String DRIVER_INFO
- See Also:
- Constant Field Values
WebDriverException
public WebDriverException()
WebDriverException
public WebDriverException(String message)
WebDriverException
public WebDriverException(Throwable cause)
WebDriverException
public WebDriverException(String message,
                          Throwable cause)
getMessage
public String getMessage()
- 
- Overrides:
- getMessagein class- Throwable
 
- 
 
getSystemInformation
public String getSystemInformation()
- 
 
getSupportUrl
public String getSupportUrl()
- 
 
getBuildInformation
public BuildInfo getBuildInformation()
- 
 
getDriverInformation
@Deprecated
public String getDriverInformation()
- Deprecated. To be removed in 2.28
 
- 
 
setSessionId
@Deprecated
public void setSessionId(String sessionId)
- Deprecated. To be removed in 2.28
 
- 
 
getDriverName
public static String getDriverName(StackTraceElement[] stackTraceElements)
- 
 
addInfo
public void addInfo(String key,
                    String value)
- 
 
Copyright © 2012. All Rights Reserved.