mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.8 KiB
1.8 KiB
Home > puppeteer > Protocol > Network > SetCookieRequest
Protocol.Network.SetCookieRequest interface
Signature:
export interface SetCookieRequest
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 type. |
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. |