puppeteer/new-docs/puppeteer.protocol.network.setcookierequest.md
2020-07-13 14:01:35 +01:00

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.