import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { CaptureScreenshotRequest } = Protocol.Page;
Properties
Image compression format (defaults to png). (CaptureScreenshotRequestFormat enum)
optional
quality: integerCompression quality from range [0..100] (jpeg only).
optional
clip: ViewportCapture the screenshot of a given region only.
Capture the screenshot from the surface, rather than the view. Defaults to true.