Class WebDriverArgumentException
Represents exceptions that are thrown when an invalid argument is passed to a WebDriver command.
[Serializable]
public class WebDriverArgumentException : WebDriverException, ISerializable
- Inheritance
-
WebDriverArgumentException
- Implements
- Inherited Members
Constructors
WebDriverArgumentException()
Initializes a new instance of the WebDriverArgumentException class.
public WebDriverArgumentException()
WebDriverArgumentException(string?)
Initializes a new instance of the WebDriverArgumentException class with a specified error message.
public WebDriverArgumentException(string? message)
Parameters
message
stringThe message that describes the error.
WebDriverArgumentException(string?, Exception?)
Initializes a new instance of the WebDriverArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public WebDriverArgumentException(string? message, Exception? innerException)