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