Module

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

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.screenshot
import { Page } from "https://dotland.deno.dev/x/fresh@1.5.2/tests/deps.ts";

Parameters

optional
options: ScreenshotOptions

Returns

Promise<Buffer | string>

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