Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Page.prototype.screenshot
import { Page } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Page.js";

Returns

Promise<Buffer | string>

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