Class InvalidSelectorException
The exception that is thrown when an invalid selector is used.
[Serializable]
public class InvalidSelectorException : WebDriverException, ISerializable
- Inheritance
-
InvalidSelectorException
- Implements
- Inherited Members
Constructors
InvalidSelectorException()
Initializes a new instance of the InvalidSelectorException class.
public InvalidSelectorException()
InvalidSelectorException(string?)
Initializes a new instance of the InvalidSelectorException class with a specified error message.
public InvalidSelectorException(string? message)
Parameters
message
stringThe message that describes the error.
InvalidSelectorException(string?, Exception?)
Initializes a new instance of the InvalidSelectorException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public InvalidSelectorException(string? message, Exception? innerException)
Parameters
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe exception that is the cause of the current exception, or null if no inner exception is specified.
Methods
GetMessage(string?)
Add information about obtaining additional support from documentation to this exception.
protected static string GetMessage(string? message)
Parameters
message
stringThe original message for exception
Returns
- string
The final message for exception