Skip to main content
Module

x/astral/bindings/celestial.ts>DOM_Node

A high-level puppeteer/playwright-like library for Deno
Go to Latest
type alias DOM_Node
import { type DOM_Node } from "https://deno.land/x/astral@0.3.1/bindings/celestial.ts";

DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.

definition: { nodeId: DOM_NodeId; parentId?: DOM_NodeId; backendNodeId: DOM_BackendNodeId; nodeType: number; nodeName: string; localName: string; nodeValue: string; childNodeCount?: number; children?: DOM_Node[]; attributes?: string[]; documentURL?: string; baseURL?: string; publicId?: string; systemId?: string; internalSubset?: string; xmlVersion?: string; name?: string; value?: string; pseudoType?: DOM_PseudoType; pseudoIdentifier?: string; shadowRootType?: DOM_ShadowRootType; frameId?: Page_FrameId; contentDocument?: DOM_Node; shadowRoots?: DOM_Node[]; templateContent?: DOM_Node; pseudoElements?: DOM_Node[]; importedDocument?: DOM_Node; distributedNodes?: DOM_BackendNode[]; isSVG?: boolean; compatibilityMode?: DOM_CompatibilityMode; assignedSlot?: DOM_BackendNode; }