Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Examples

Example 1

await page.setCookie(cookieObject1, cookieObject2);

Parameters

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

Returns

Promise<void>