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