Class WebDriverException
Represents exceptions that are thrown when an error occurs during actions.
public class WebDriverException : Exception, ISerializable
- Inheritance
-
WebDriverException
- Implements
- Derived
- Inherited Members
Constructors
WebDriverException()
Initializes a new instance of the WebDriverException class.
public WebDriverException()
WebDriverException(SerializationInfo, StreamingContext)
Initializes a new instance of the WebDriverException class with serialized data.
protected WebDriverException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
WebDriverException(string)
Initializes a new instance of the WebDriverException class with a specified error message.
public WebDriverException(string message)
Parameters
message
stringThe message that describes the error.
WebDriverException(string, Exception)
Initializes a new instance of the WebDriverException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public WebDriverException(string message, Exception innerException)