import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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.