Table of Contents

Class NoSuchShadowRootException

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

The exception that is thrown when a shadow root is not found.

[Serializable]
public class NoSuchShadowRootException : NotFoundException, ISerializable
Inheritance
NoSuchShadowRootException
Implements
Inherited Members

Constructors

NoSuchShadowRootException()

Initializes a new instance of the NoSuchShadowRootException class.

public NoSuchShadowRootException()

NoSuchShadowRootException(string?)

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

public NoSuchShadowRootException(string? message)

Parameters

message string

The message that describes the error.

NoSuchShadowRootException(string?, Exception?)

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

public NoSuchShadowRootException(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.