Module

x/fresh/tests/deps.ts>puppeteer.Network.Cookie

The next-gen web framework.
Extremely Popular
Go to Latest
interface puppeteer.Network.Cookie
import { type puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { Cookie } = puppeteer.Network;

Cookie object

Properties

name: string

Cookie name.

value: string

Cookie value.

domain: string

Cookie domain.

path: string

Cookie path.

expires: number

Cookie expiration date as the number of seconds since the UNIX epoch.

size: integer

Cookie size.

httpOnly: boolean

True if cookie is http-only.

secure: boolean

True if cookie is secure.

session: boolean

True in case of session cookie.

optional
sameSite: CookieSameSite

Cookie SameSite type.

priority: CookiePriority

Cookie Priority

sameParty: boolean

True if cookie is SameParty.

sourceScheme: CookieSourceScheme

Cookie source scheme type.

sourcePort: integer

Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.

optional
partitionKey: string

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

optional
partitionKeyOpaque: boolean

True if cookie partition key is opaque.