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