Table of Contents

Class WebDriverException

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

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

[Serializable]
public class WebDriverException : Exception, ISerializable
Inheritance
WebDriverException
Implements
Derived
Inherited Members

Constructors

WebDriverException()

Initializes a new instance of the WebDriverException class.

public WebDriverException()

WebDriverException(string?)

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

public WebDriverException(string? message)

Parameters

message string

The 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)

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.

Fields

baseSupportUrl

Location of errors in documentation

protected static string baseSupportUrl

Field Value

string

supportMsg

Intro comment for pointing to documentation

protected static string supportMsg

Field Value

string