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
stringMessage.
SelectorException(string, Exception)
Initializes a new instance of the SelectorException class.
public SelectorException(string message, Exception innerException)
Parameters
SelectorException(string, string)
Initializes a new instance of the SelectorException class.
public SelectorException(string message, string selector)
Parameters
Properties
Selector
Gets the selector.
public string Selector { get; }
Property Value
- string
The selector.