Class NavigateCommandResult
- Namespace
- WebDriverBiDi.BrowsingContext
- Assembly
- WebDriverBiDi.dll
Contains the result of a navigation.
public record NavigateCommandResult : CommandResult, IEquatable<CommandResult>, IEquatable<NavigateCommandResult>
- Inheritance
-
NavigateCommandResult
- Implements
- Derived
- Inherited Members
Constructors
NavigateCommandResult(NavigateCommandResult)
protected NavigateCommandResult(NavigateCommandResult original)
Parameters
originalNavigateCommandResult
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
NavigationId
Gets the ID of the navigation, or null if the remote end reported none.
[JsonPropertyName("navigation")]
[JsonRequired]
[JsonInclude]
public string? NavigationId { get; }
Property Value
Remarks
The specification's CDDL types this field as Navigation / null, so a null value is
permitted on the wire and this property is nullable to match. The specification's own
navigation steps allocate a navigation id for every navigation, including one that waits for
None and one that resolves to the same document, so a conforming
remote end is not expected to return null in practice.
Url
Gets the URL of the navigation.
[JsonPropertyName("url")]
[JsonRequired]
[JsonInclude]
public string Url { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(NavigateCommandResult?)
public virtual bool Equals(NavigateCommandResult? other)
Parameters
otherNavigateCommandResult
Returns
Equals(CommandResult?)
public override sealed bool Equals(CommandResult? other)
Parameters
otherCommandResult
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(NavigateCommandResult?, NavigateCommandResult?)
public static bool operator ==(NavigateCommandResult? left, NavigateCommandResult? right)
Parameters
leftNavigateCommandResultrightNavigateCommandResult
Returns
operator !=(NavigateCommandResult?, NavigateCommandResult?)
public static bool operator !=(NavigateCommandResult? left, NavigateCommandResult? right)
Parameters
leftNavigateCommandResultrightNavigateCommandResult