import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { Node } = default.DOM;
DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.
Properties
Node identifier that is passed into the rest of the DOM messages as the nodeId
. Backend
will only push node with given id
once. It is aware of all requested nodes and will only
fire DOM events for nodes known to the client.
The id of the parent node if any.
The BackendNodeId for this node.
Node
's nodeType.
Child count for Container
nodes.
Child nodes of this node when requested with children.
Attributes of the Element
node in the form of flat array [name1, value1, name2, value2]
.
Pseudo element type for this node.
Shadow root type.
Frame ID for frame owner elements.
Content document for frame owner elements.
Shadow root list for given element host.
Content document fragment for template elements.
Pseudo elements associated with this node.
Import document for the HTMLImport links.
Distributed nodes for given insertion point.