Table of Contents

Class LocateNodesCommandResult

Namespace
WebDriverBiDi.BrowsingContext
Assembly
WebDriverBiDi.dll

Result for locating nodes using the browsingContext.locateNodes command.

public record LocateNodesCommandResult : CommandResult, IEquatable<CommandResult>, IEquatable<LocateNodesCommandResult>
Inheritance
LocateNodesCommandResult
Implements
Inherited Members

Constructors

LocateNodesCommandResult(LocateNodesCommandResult)

protected LocateNodesCommandResult(LocateNodesCommandResult original)

Parameters

original LocateNodesCommandResult

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Nodes

Gets the read-only list of located nodes.

[JsonIgnore]
public IList<NodeRemoteValue> Nodes { get; }

Property Value

IList<NodeRemoteValue>

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(LocateNodesCommandResult?)

public virtual bool Equals(LocateNodesCommandResult? other)

Parameters

other LocateNodesCommandResult

Returns

bool

Equals(CommandResult?)

public override sealed bool Equals(CommandResult? other)

Parameters

other CommandResult

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(LocateNodesCommandResult?, LocateNodesCommandResult?)

public static bool operator ==(LocateNodesCommandResult? left, LocateNodesCommandResult? right)

Parameters

left LocateNodesCommandResult
right LocateNodesCommandResult

Returns

bool

operator !=(LocateNodesCommandResult?, LocateNodesCommandResult?)

public static bool operator !=(LocateNodesCommandResult? left, LocateNodesCommandResult? right)

Parameters

left LocateNodesCommandResult
right LocateNodesCommandResult

Returns

bool