Table of Contents

Class GetEventListenersCommandSettings

Namespace
OpenQA.Selenium.DevTools.V146.DOMDebugger
Assembly
Selenium.WebDriver.dll

Returns event listeners of the given object.

public sealed class GetEventListenersCommandSettings : ICommand
Inheritance
GetEventListenersCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Depth

The maximum depth at which Node children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.

[JsonPropertyName("depth")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Depth { get; set; }

Property Value

long?

ObjectId

Identifier of the object to return listeners for.

[JsonPropertyName("objectId")]
public string ObjectId { get; set; }

Property Value

string

Pierce

Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). Reports listeners for all contexts if pierce is enabled.

[JsonPropertyName("pierce")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Pierce { get; set; }

Property Value

bool?