Table of Contents

Class Cookie

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

Cookie

public sealed class Cookie
Inheritance
Cookie
Inherited Members

Properties

domain

[JsonPropertyName("domain")]
public string Domain { get; set; }

Property Value

string

expires

[JsonPropertyName("expires")]
public double Expires { get; set; }

Property Value

double

httpOnly

[JsonPropertyName("httpOnly")]
public bool HttpOnly { get; set; }

Property Value

bool

name

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

Property Value

string

partitionKey

[JsonPropertyName("partitionKey")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CookiePartitionKey PartitionKey { get; set; }

Property Value

CookiePartitionKey

partitionKeyOpaque

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

Property Value

bool?

path

[JsonPropertyName("path")]
public string Path { get; set; }

Property Value

string

priority

[JsonPropertyName("priority")]
public CookiePriority Priority { get; set; }

Property Value

CookiePriority

sameParty

[JsonPropertyName("sameParty")]
public bool SameParty { get; set; }

Property Value

bool

sameSite

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

Property Value

CookieSameSite?

secure

[JsonPropertyName("secure")]
public bool Secure { get; set; }

Property Value

bool

session

[JsonPropertyName("session")]
public bool Session { get; set; }

Property Value

bool

size

[JsonPropertyName("size")]
public long Size { get; set; }

Property Value

long

sourcePort

[JsonPropertyName("sourcePort")]
public long SourcePort { get; set; }

Property Value

long

sourceScheme

[JsonPropertyName("sourceScheme")]
public CookieSourceScheme SourceScheme { get; set; }

Property Value

CookieSourceScheme

value

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

Property Value

string