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

x/pptr/mod.ts>Page#cookies

Headless Chrome Deno API
Latest
method Page.prototype.cookies
Re-export
import { Page } from "https://deno.land/x/pptr@1.2.0/mod.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[]