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

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

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.DOMSnapshot.GetSnapshotResponse
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { GetSnapshotResponse } = Protocol.DOMSnapshot;

Properties

domNodes: DOMNode[]

The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.

layoutTreeNodes: LayoutTreeNode[]

The nodes in the layout tree.

computedStyles: ComputedStyle[]

Whitelisted ComputedStyle properties for each node in the layout tree.