import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { DOMNode } = default.DOMSnapshot;
A Node in the DOM tree.
Properties
Node
's nodeType.
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
Node
's id, corresponds to DOM.Node.backendNodeId.
The indexes of the node's child nodes in the domNodes
array returned by getSnapshot
, if
any.
Attributes of an Element
node.
Indexes of pseudo elements associated with this node in the domNodes
array returned by
getSnapshot
, if any.
The index of the node's related layout tree node in the layoutTreeNodes
array returned by
getSnapshot
, if any.
Only set for documents, contains the document's character set encoding.
Frame ID for frame owner elements and also for the document node.
The index of a frame owner element's content document in the domNodes
array returned by
getSnapshot
, if any.
Type of a pseudo element node.
Shadow root type.
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.
Details of the node's event listeners, if any.