Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Page.prototype.screenshot
Re-export
import { Page } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";

Returns

Promise<Uint8Array | string>

Promise which resolves to an array buffer or a base64 string (depending on the value of encoding) with captured screenshot.