Table of Contents

Class SetCookieCommandSettings

Namespace
OpenQA.Selenium.DevTools.V85.Network
Assembly
WebDriver.dll

SetCookie

public sealed class SetCookieCommandSettings : ICommand
Inheritance
SetCookieCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Domain

Gets or sets the domain

[JsonPropertyName("domain")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Domain { get; set; }

Property Value

string

Expires

Gets or sets the expires

[JsonPropertyName("expires")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Expires { get; set; }

Property Value

double?

HttpOnly

Gets or sets the httpOnly

[JsonPropertyName("httpOnly")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HttpOnly { get; set; }

Property Value

bool?

Name

Gets or sets the name

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

Path

Gets or sets the path

[JsonPropertyName("path")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Path { get; set; }

Property Value

string

Priority

Gets or sets the priority

[JsonPropertyName("priority")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CookiePriority? Priority { get; set; }

Property Value

CookiePriority?

SameSite

Gets or sets the sameSite

[JsonPropertyName("sameSite")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CookieSameSite? SameSite { get; set; }

Property Value

CookieSameSite?

Secure

Gets or sets the secure

[JsonPropertyName("secure")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Secure { get; set; }

Property Value

bool?

Url

Gets or sets the url

[JsonPropertyName("url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Url { get; set; }

Property Value

string

Value

Gets or sets the value

[JsonPropertyName("value")]
public string Value { get; set; }

Property Value

string