Table of Contents

Class CookiePartitionKey

Namespace
Selenium.WebDriver.BiDi.Cdp.Network
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

cookiePartitionKey object The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.

public sealed record CookiePartitionKey : IEquatable<CookiePartitionKey>
Inheritance
CookiePartitionKey
Implements
Inherited Members

Constructors

CookiePartitionKey(string, bool)

cookiePartitionKey object The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.

public CookiePartitionKey(string TopLevelSite, bool HasCrossSiteAncestor)

Parameters

TopLevelSite string

The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.

HasCrossSiteAncestor bool

Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.

Properties

HasCrossSiteAncestor

Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.

public bool HasCrossSiteAncestor { get; init; }

Property Value

bool

TopLevelSite

The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.

public string TopLevelSite { get; init; }

Property Value

string