Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.DOMSnapshot.GetSnapshotRequest

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.DOMSnapshot.GetSnapshotRequest
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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).