Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Overlay.ScreenshotRequestedEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ScreenshotRequestedEvent } = default.Overlay;

Fired when user asks to capture screenshot of some area on the page.

Properties

viewport: Page.Viewport

Viewport to capture, in device independent pixels (dip).