Table of Contents

Class UnknownMethodException

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Exception that is thrown when the requested command matched a known URL but did not match any method for that URL.

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

Constructors

UnknownMethodException(string?)

Initializes a new instance of the UnknownMethodException class with the specified message.

public UnknownMethodException(string? message)

Parameters

message string

The message of the exception.

UnknownMethodException(string?, Exception?)

Initializes a new instance of the UnknownMethodException class with the specified message and inner exception.

public UnknownMethodException(string? message, Exception? innerException)

Parameters

message string

The message of the exception.

innerException Exception

The inner exception for this exception.