Latest
method Page.prototype.setCookie
import { Page } from "https://dotland.deno.dev/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/types.d.ts";

Examples

Example 1

await page.setCookie(cookieObject1, cookieObject2);

Parameters

...cookies: Protocol.Network.CookieParam[]

Returns

Promise<void>