import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { SetCookieRequest } = default.Network;
Properties
The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie.
optional
sameSite: CookieSameSiteCookie SameSite type.
optional
expires: TimeSinceEpochCookie expiration date, session cookie if not set
optional
priority: CookiePriorityCookie Priority type.
optional
sourceScheme: CookieSourceSchemeCookie source scheme type.
optional
sourcePort: integerCookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.