1.8 KiB
1.8 KiB
Home > puppeteer > Protocol > Network > CookieParam
Protocol.Network.CookieParam interface
Cookie parameter object
Signature:
export interface CookieParam
Properties
Property | Type | Description |
---|---|---|
domain | string | Cookie domain. |
expires | TimeSinceEpoch | Cookie expiration date, session cookie if not set |
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. |
url | string | The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie. |
value | string | Cookie value. |