Table of Contents

Class WebDriverTimeoutException

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Represents exceptions that are thrown when an error occurs during actions.

public class WebDriverTimeoutException : WebDriverException, ISerializable
Inheritance
WebDriverTimeoutException
Implements
Inherited Members

Constructors

WebDriverTimeoutException()

Initializes a new instance of the WebDriverTimeoutException class.

public WebDriverTimeoutException()

WebDriverTimeoutException(SerializationInfo, StreamingContext)

Initializes a new instance of the WebDriverTimeoutException class with serialized data.

protected WebDriverTimeoutException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

WebDriverTimeoutException(string)

Initializes a new instance of the WebDriverTimeoutException class with a specified error message.

public WebDriverTimeoutException(string message)

Parameters

message string

The message that describes the error.

WebDriverTimeoutException(string, Exception)

Initializes a new instance of the WebDriverTimeoutException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public WebDriverTimeoutException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or null if no inner exception is specified.