Table of Contents

Class GetTreeCommandParameters

Namespace
WebDriverBiDi.BrowsingContext
Assembly
WebDriverBiDi.dll

Provides parameters for the browsingContext.getTree command.

public class GetTreeCommandParameters : CommandParameters<GetTreeCommandResult>
Inheritance
GetTreeCommandParameters
Inherited Members

Constructors

GetTreeCommandParameters()

Initializes a new instance of the GetTreeCommandParameters class.

public GetTreeCommandParameters()

Properties

MaxDepth

Gets or sets the maximum depth to traverse the tree.

[JsonPropertyName("maxDepth")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ulong? MaxDepth { get; set; }

Property Value

ulong?

MethodName

Gets the method name of the command.

[JsonIgnore]
public override string MethodName { get; }

Property Value

string

RootBrowsingContextId

Gets or sets the ID of the browsing context used as the root of the tree.

[JsonPropertyName("root")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? RootBrowsingContextId { get; set; }

Property Value

string