Table of Contents

Class SelectorException

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll

Exception thrown when an element selector returns null.

[Serializable]
public class SelectorException : PuppeteerException, ISerializable
Inheritance
SelectorException
Implements

Constructors

SelectorException()

Initializes a new instance of the SelectorException class.

public SelectorException()

SelectorException(string)

Initializes a new instance of the SelectorException class.

public SelectorException(string message)

Parameters

message string

Message.

SelectorException(string, Exception)

Initializes a new instance of the SelectorException class.

public SelectorException(string message, Exception innerException)

Parameters

message string

Message.

innerException Exception

Inner exception.

SelectorException(string, string)

Initializes a new instance of the SelectorException class.

public SelectorException(string message, string selector)

Parameters

message string

Message.

selector string

Selector.

Properties

Selector

Gets the selector.

public string Selector { get; }

Property Value

string

The selector.

See Also