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

Properties

computedStyleWhitelist: string[]

Whitelist of computed styles to return.

optional
includeEventListeners: boolean

Whether or not to retrieve details of DOM listeners (default false).

optional
includePaintOrder: boolean

Whether to determine and include the paint order index of LayoutTreeNodes (default false).

optional
includeUserAgentShadowTree: boolean

Whether to include UA shadow tree in the snapshot (default false).