Class InvalidElementStateException
The exception that is thrown when a reference to an element is no longer valid.
public class InvalidElementStateException : WebDriverException, ISerializable
- Inheritance
-
InvalidElementStateException
- Implements
- Inherited Members
Constructors
InvalidElementStateException()
Initializes a new instance of the InvalidElementStateException class.
public InvalidElementStateException()
InvalidElementStateException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidElementStateException class with serialized data.
protected InvalidElementStateException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
InvalidElementStateException(string)
Initializes a new instance of the InvalidElementStateException class with a specified error message.
public InvalidElementStateException(string message)
Parameters
messagestringThe message that describes the error.
InvalidElementStateException(string, Exception)
Initializes a new instance of the InvalidElementStateException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public InvalidElementStateException(string message, Exception innerException)