Class CreateCommandResult
- Namespace
- WebDriverBiDi.BrowsingContext
- Assembly
- WebDriverBiDi.dll
Result for creating a new browsing context using the browsingContext.create command.
public record CreateCommandResult : CommandResult, IEquatable<CommandResult>, IEquatable<CreateCommandResult>
- Inheritance
-
CreateCommandResult
- Implements
- Inherited Members
Constructors
CreateCommandResult(CreateCommandResult)
protected CreateCommandResult(CreateCommandResult original)
Parameters
originalCreateCommandResult
Properties
BrowsingContextId
Gets the ID of the created browsing context.
[JsonPropertyName("context")]
[JsonRequired]
[JsonInclude]
public string BrowsingContextId { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
UserContextId
Gets the ID of the user context where the browsing context is created.
[JsonPropertyName("userContext")]
[JsonInclude]
public string? UserContextId { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(CreateCommandResult?)
public virtual bool Equals(CreateCommandResult? other)
Parameters
otherCreateCommandResult
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 ==(CreateCommandResult?, CreateCommandResult?)
public static bool operator ==(CreateCommandResult? left, CreateCommandResult? right)
Parameters
leftCreateCommandResultrightCreateCommandResult
Returns
operator !=(CreateCommandResult?, CreateCommandResult?)
public static bool operator !=(CreateCommandResult? left, CreateCommandResult? right)
Parameters
leftCreateCommandResultrightCreateCommandResult