Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.DOMSnapshot.GetSnapshotResponse

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.DOMSnapshot.GetSnapshotResponse
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.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.