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
originalSetCookieCommandResult
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
PartitionKey
Gets the partition key of the storage partition the cookie was set in.
[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(SetCookieCommandResult?)
public virtual bool Equals(SetCookieCommandResult? other)
Parameters
otherSetCookieCommandResult
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 ==(SetCookieCommandResult?, SetCookieCommandResult?)
public static bool operator ==(SetCookieCommandResult? left, SetCookieCommandResult? right)
Parameters
leftSetCookieCommandResultrightSetCookieCommandResult
Returns
operator !=(SetCookieCommandResult?, SetCookieCommandResult?)
public static bool operator !=(SetCookieCommandResult? left, SetCookieCommandResult? right)
Parameters
leftSetCookieCommandResultrightSetCookieCommandResult