Class InvalidElementStateException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ElementNotInteractableException

    public class InvalidElementStateException
    extends WebDriverException
    Indicates that a WebElement 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
    • 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)