import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { NodeTreeSnapshot } = default.DOMSnapshot;
Table containing nodes.
Properties
Parent node index.
Node
's nodeType.
Type of the shadow root the Node
is in. String values are equal to the ShadowRootType
enum.
Node
's nodeName.
Node
's nodeValue.
Node
's id, corresponds to DOM.Node.backendNodeId.
Attributes of an Element
node. Flatten name, value pairs.
Only set for textarea elements, contains the text value.
Only set for input elements, contains the input's associated text value.
Only set for radio and checkbox input elements, indicates if the element has been checked
Only set for option elements, indicates if the element has been selected
The index of the document in the list of the snapshot documents.
Type of a pseudo element node.
Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked.
The selected url for nodes with a srcset attribute.
The url of the script (if any) that generates this node.