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

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.