mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.7 KiB
1.7 KiB
Home > puppeteer > Protocol > Network > Cookie
Protocol.Network.Cookie interface
Cookie object
Signature:
export interface Cookie
Properties
Property | Type | Description |
---|---|---|
domain | string | Cookie domain. |
expires | number | Cookie expiration date as the number of seconds since the UNIX epoch. |
httpOnly | boolean | True if cookie is http-only. |
name | string | Cookie name. |
path | string | Cookie path. |
priority | CookiePriority | Cookie Priority |
sameSite | CookieSameSite | Cookie SameSite type. |
secure | boolean | True if cookie is secure. |
session | boolean | True in case of session cookie. |
size | integer | Cookie size. |
value | string | Cookie value. |