Table of Contents

Class SetCookieCommandParameters

Namespace
WebDriverBiDi.Storage
Assembly
WebDriverBiDi.dll

Provides parameters for the storage.setCookie command.

public class SetCookieCommandParameters : CommandParameters<SetCookieCommandResult>
Inheritance
SetCookieCommandParameters
Inherited Members

Constructors

SetCookieCommandParameters(PartialCookie)

Initializes a new instance of the SetCookieCommandParameters class.

public SetCookieCommandParameters(PartialCookie cookie)

Parameters

cookie PartialCookie

The values of the cookie to set.

Properties

Gets or sets the cookie values to set.

[JsonPropertyName("cookie")]
public PartialCookie Cookie { get; set; }

Property Value

PartialCookie

MethodName

Gets the method name of the command.

[JsonIgnore]
public override string MethodName { get; }

Property Value

string

Partition

Gets or sets the partition descriptor to use when setting the cookie.

[JsonPropertyName("partition")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public PartitionDescriptor? Partition { get; set; }

Property Value

PartitionDescriptor