Table of Contents

Class GetCookiesCommandResult

Namespace
WebDriverBiDi.Storage
Assembly
WebDriverBiDi.dll

Result for getting cookies using the storage.getCookies command.

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

Constructors

GetCookiesCommandResult(GetCookiesCommandResult)

protected GetCookiesCommandResult(GetCookiesCommandResult original)

Parameters

original GetCookiesCommandResult

Properties

Cookies

Gets the read-only list of cookies returned by the command.

[JsonIgnore]
public IList<Cookie> Cookies { get; }

Property Value

IList<Cookie>

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

PartitionKey

Gets the partition key for the list of returned cookies.

[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(GetCookiesCommandResult?)

public virtual bool Equals(GetCookiesCommandResult? other)

Parameters

other GetCookiesCommandResult

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

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

Parameters

left GetCookiesCommandResult
right GetCookiesCommandResult

Returns

bool

operator !=(GetCookiesCommandResult?, GetCookiesCommandResult?)

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

Parameters

left GetCookiesCommandResult
right GetCookiesCommandResult

Returns

bool