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
cookiePartialCookieThe values of the cookie to set.
Properties
Cookie
Gets or sets the cookie values to set.
[JsonPropertyName("cookie")]
public PartialCookie Cookie { get; set; }
Property Value
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }
Property Value
Partition
Gets or sets the partition descriptor to use when setting the cookie.
[JsonPropertyName("partition")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public PartitionDescriptor? Partition { get; set; }