import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { Node } = Protocol.DOM;
DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.
Properties
nodeId: NodeId
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.
optional
importedDocument: NodeDeprecated, as the HTML Imports API has been removed (crbug.com/937746). This property used to return the imported document for the HTMLImport links. The property is always undefined now.
optional
compatibilityMode: CompatibilityMode