Class RequestChildNodesCommandSettings
Requests that children of the node with given id are returned to the caller in form of
setChildNodes events where not only immediate children are retrieved, but all children down to
the specified depth.
public sealed class RequestChildNodesCommandSettings : ICommand
- Inheritance
-
RequestChildNodesCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
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
Id of the node to get children for.
[JsonPropertyName("nodeId")]
public long NodeId { get; set; }
Property Value
Pierce
Whether or not iframes and shadow roots should be traversed when returning the sub-tree (default is false).
[JsonPropertyName("pierce")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Pierce { get; set; }
Property Value
- bool?