Table of Contents

Class EventListener

Namespace
Selenium.WebDriver.BiDi.Cdp.DOMDebugger
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Object event listener.

public sealed record EventListener : IEquatable<EventListener>
Inheritance
EventListener
Implements
Inherited Members

Constructors

EventListener(string, bool, bool, bool, ScriptId, long, long)

Object event listener.

public EventListener(string Type, bool UseCapture, bool Passive, bool Once, ScriptId ScriptId, long LineNumber, long ColumnNumber)

Parameters

Type string

EventListener's type.

UseCapture bool

EventListener's useCapture.

Passive bool

EventListener's passive flag.

Once bool

EventListener's once flag.

ScriptId ScriptId

Script id of the handler code.

LineNumber long

Line number in the script (0-based).

ColumnNumber long

Column number in the script (0-based).

Properties

BackendNodeId

Node the listener is added to (if any).

public BackendNodeId? BackendNodeId { get; init; }

Property Value

BackendNodeId

ColumnNumber

Column number in the script (0-based).

public long ColumnNumber { get; init; }

Property Value

long

Handler

Event handler function value.

public RemoteObject? Handler { get; init; }

Property Value

RemoteObject

LineNumber

Line number in the script (0-based).

public long LineNumber { get; init; }

Property Value

long

Once

EventListener's once flag.

public bool Once { get; init; }

Property Value

bool

OriginalHandler

Event original handler function value.

public RemoteObject? OriginalHandler { get; init; }

Property Value

RemoteObject

Passive

EventListener's passive flag.

public bool Passive { get; init; }

Property Value

bool

ScriptId

Script id of the handler code.

public ScriptId ScriptId { get; init; }

Property Value

ScriptId

Type

EventListener's type.

public string Type { get; init; }

Property Value

string

UseCapture

EventListener's useCapture.

public bool UseCapture { get; init; }

Property Value

bool