import { type ScreenshotOptions } from "https://deno.land/x/frugal@0.9.6/dep/puppeteer/mod.ts";
Properties
The file path to save the image to. The screenshot type will be inferred from file extension. If path is a relative path, then it is resolved relative to current working directory. If no path is provided, the image won't be saved to the disk.
optional
clip: ScreenshotClipAn object which specifies the clipping region of the page.
Hides default white background and allows capturing screenshots with transparency.