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

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

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

If no URLs are specified, this method returns cookies for the current page URL. If URLs are specified, only cookies for those URLs are returned.

Parameters

...urls: string[]

Returns

Promise<Protocol.Network.Cookie[]>