Module

x/fresh/tests/deps.ts>Page#setCookie

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.setCookie
import { Page } from "https://dotland.deno.dev/x/fresh@1.5.2/tests/deps.ts";

Examples

Example 1

await page.setCookie(cookieObject1, cookieObject2);

Parameters

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

Returns

Promise<void>