import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { DOMNode } = Protocol.DOMSnapshot;
A Node in the DOM tree.
Properties
optional
childNodeIndexes: integer[]The indexes of the node's child nodes in the domNodes
array returned by getSnapshot
, if
any.
optional
pseudoElementIndexes: integer[]Indexes of pseudo elements associated with this node in the domNodes
array returned by
getSnapshot
, if any.
optional
layoutNodeIndex: integerThe index of the node's related layout tree node in the layoutTreeNodes
array returned by
getSnapshot
, if any.
optional
contentDocumentIndex: integerThe index of a frame owner element's content document in the domNodes
array returned by
getSnapshot
, if any.