Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.DOMSnapshot.CaptureSnapshotRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { CaptureSnapshotRequest } = Protocol.DOMSnapshot;

Properties

computedStyles: string[]

Whitelist of computed styles to return.

optional
includePaintOrder: boolean

Whether to include layout object paint orders into the snapshot.

optional
includeDOMRects: boolean

Whether to include DOM rectangles (offsetRects, clientRects, scrollRects) into the snapshot