Package org.openqa.selenium
Class InvalidElementStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.openqa.selenium.WebDriverException
-
- org.openqa.selenium.InvalidElementStateException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ElementNotInteractableException
public class InvalidElementStateException extends WebDriverException
Indicates that aWebElement
is in a state that means actions cannot be performed with it. Examples would include an element being obscured by another when clicking, or perhaps not being visible on the DOM. Subclasses of this provide more detailed information.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openqa.selenium.WebDriverException
BASE_SUPPORT_URL, DRIVER_INFO, SESSION_ID
-
-
Constructor Summary
Constructors Constructor Description InvalidElementStateException()
InvalidElementStateException(java.lang.String message)
InvalidElementStateException(java.lang.String message, java.lang.Throwable cause)
InvalidElementStateException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.openqa.selenium.WebDriverException
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getRawMessage, getSupportUrl, getSystemInformation
-
-
-
-
Constructor Detail
-
InvalidElementStateException
public InvalidElementStateException()
-
InvalidElementStateException
public InvalidElementStateException(java.lang.String message)
-
InvalidElementStateException
public InvalidElementStateException(java.lang.Throwable cause)
-
InvalidElementStateException
public InvalidElementStateException(java.lang.String message, java.lang.Throwable cause)
-
-