Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Overlay.ScreenshotRequestedEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.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).