Files
puppeteer/docs/api/puppeteer.cookiepartitionkey.md
2024-11-27 14:44:18 +01:00

923 B

sidebar_label
sidebar_label
CookiePartitionKey

CookiePartitionKey interface

Represents a cookie partition key in Chrome.

Signature

export interface CookiePartitionKey

Properties

Property

Modifiers

Type

Description

Default

hasCrossSiteAncestor

optional

boolean

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

Supported only in Chrome.

sourceOrigin

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.

In Chrome, maps to the CDP's topLevelSite partition key.