C# Class OpenQA.Selenium.Support.UI.UnexpectedTagNameException

Inheritance: WebDriverException
Datei anzeigen Open project: OpiumCity/YoutubeViewBotWithProxy

Public Methods

Method Description
UnexpectedTagNameException ( ) : System

Initializes a new instance of the UnexpectedTagNameException class.

UnexpectedTagNameException ( string message ) : System

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

UnexpectedTagNameException ( string message, Exception innerException ) : System

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

UnexpectedTagNameException ( string expected, string actual ) : System

Initializes a new instance of the UnexpectedTagNameException class with the expected tag name and the actual tag name.

Protected Methods

Method Description
UnexpectedTagNameException ( SerializationInfo info, StreamingContext context ) : System

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

Method Details

UnexpectedTagNameException() public method

Initializes a new instance of the UnexpectedTagNameException class.
public UnexpectedTagNameException ( ) : System
return System

UnexpectedTagNameException() protected method

Initializes a new instance of the UnexpectedTagNameException class with serialized data.
protected UnexpectedTagNameException ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo The that holds the serialized /// object data about the exception being thrown.
context StreamingContext The that contains contextual /// information about the source or destination.
return System

UnexpectedTagNameException() public method

Initializes a new instance of the UnexpectedTagNameException class with a specified error message.
public UnexpectedTagNameException ( string message ) : System
message string The message of the exception
return System

UnexpectedTagNameException() public method

Initializes a new instance of the UnexpectedTagNameException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public UnexpectedTagNameException ( string message, Exception innerException ) : System
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 if no inner exception is specified.
return System

UnexpectedTagNameException() public method

Initializes a new instance of the UnexpectedTagNameException class with the expected tag name and the actual tag name.
public UnexpectedTagNameException ( string expected, string actual ) : System
expected string The tag name that was expected.
actual string The actual tag name of the element.
return System