Table of Contents

Class SetCookieCommandResult

Namespace
WebDriverBiDi.Storage
Assembly
WebDriverBiDi.dll

Result for setting a cookie using the storage.setCookie command.

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

Constructors

SetCookieCommandResult(SetCookieCommandResult)

protected SetCookieCommandResult(SetCookieCommandResult original)

Parameters

original SetCookieCommandResult

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

PartitionKey

Gets the partition key of the storage partition the cookie was set in.

[JsonPropertyName("partitionKey")]
[JsonRequired]
[JsonInclude]
public PartitionKey PartitionKey { get; }

Property Value

PartitionKey

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(CommandResult?)

public override sealed bool Equals(CommandResult? other)

Parameters

other CommandResult

Returns

bool

Equals(SetCookieCommandResult?)

public virtual bool Equals(SetCookieCommandResult? other)

Parameters

other SetCookieCommandResult

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 ==(SetCookieCommandResult?, SetCookieCommandResult?)

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

Parameters

left SetCookieCommandResult
right SetCookieCommandResult

Returns

bool

operator !=(SetCookieCommandResult?, SetCookieCommandResult?)

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

Parameters

left SetCookieCommandResult
right SetCookieCommandResult

Returns

bool