Skip to main content
Go to Latest
interface default.DOMSnapshot.GetSnapshotResponse
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { GetSnapshotResponse } = default.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.