Table of Contents

Class DescribeNodeCommandSettings

Namespace
OpenQA.Selenium.DevTools.V147.DOM
Assembly
Selenium.WebDriver.dll

Describes node given its id, does not require domain to be enabled. Does not start tracking any objects, can be used for automation.

public sealed class DescribeNodeCommandSettings : ICommand
Inheritance
DescribeNodeCommandSettings
Implements
Inherited Members

Properties

BackendNodeId

Identifier of the backend node.

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

Property Value

long?

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Depth

The maximum depth at which 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?

NodeId

Identifier of the node.

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

Property Value

long?

ObjectId

JavaScript object id of the node wrapper.

[JsonPropertyName("objectId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
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).

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

Property Value

bool?