import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { NodeTreeSnapshot } = Protocol.DOMSnapshot;
Table containing nodes.
Properties
Parent node index.
Node
's nodeType.
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.