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
originalGetCookiesCommandResult
Properties
Cookies
Gets the read-only list of cookies returned by the command.
[JsonIgnore]
public IList<Cookie> Cookies { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
PartitionKey
Gets the partition key for the list of returned cookies.
[JsonPropertyName("partitionKey")]
[JsonRequired]
[JsonInclude]
public PartitionKey PartitionKey { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(CommandResult?)
public override sealed bool Equals(CommandResult? other)
Parameters
otherCommandResult
Returns
Equals(GetCookiesCommandResult?)
public virtual bool Equals(GetCookiesCommandResult? other)
Parameters
otherGetCookiesCommandResult
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 ==(GetCookiesCommandResult?, GetCookiesCommandResult?)
public static bool operator ==(GetCookiesCommandResult? left, GetCookiesCommandResult? right)
Parameters
leftGetCookiesCommandResultrightGetCookiesCommandResult
Returns
operator !=(GetCookiesCommandResult?, GetCookiesCommandResult?)
public static bool operator !=(GetCookiesCommandResult? left, GetCookiesCommandResult? right)
Parameters
leftGetCookiesCommandResultrightGetCookiesCommandResult