Class GetDocumentCommandSettings
Returns the root DOM node (and optionally the subtree) to the caller. Implicitly enables the DOM domain events for the current target.
public sealed class GetDocumentCommandSettings : ICommand
- Inheritance
-
GetDocumentCommandSettings
- 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?
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?