DOM.Node

Mirror object that represents the actual DOM nodes.

{
  "id": "Node",
  "type": "object",
  "description": "Mirror object that represents the actual DOM nodes.",
  "properties": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "Node Identifier used to reference this node. Backend will fire DOM events for nodes that have a nodeId that is known to the client"
    },
    {
      "name": "parentId",
      "$ref": "NodeId",
      "optional": true,
      "description": "Node Identifier of the parent Node, if any."
    },
    {
      "name": "backendNodeId",
      "$ref": "NodeId",
      "description": "Backend Node identifier of the node. BackendNodeIds reference Nodes that can be known to the client, but do not push DOM events about this node."
    },
    {
      "name": "nodeType",
      "type": "integer",
      "description": "`Node`'s nodeType."
    },
    {
      "name": "nodeName",
      "type": "string",
      "description": "`Node`'s nodeName."
    },
    {
      "name": "localName",
      "type": "string",
      "description": "`Node`'s localName"
    },
    {
      "name": "nodeValue",
      "type": "string",
      "description": "`Node`'s nodeValue"
    },
    {
      "name": "childNodeCount",
      "type": "integer",
      "optional": true,
      "description": "Child count for `Container` nodes."
    },
    {
      "name": "children",
      "type": "array",
      "items": {
        "$ref": "Node"
      },
      "optional": true,
      "description": "Child nodes of this node when requested with children."
    },
    {
      "name": "attributes",
      "type": "array",
      "items": {
        "type": "string"
      },
      "optional": true,
      "description": "Attributes of `Element` nodes in the form of a flat array `[name1, value1, name2, value2]"
    },
    {
      "name": "documentURL",
      "type": "string",
      "optional": true,
      "description": "Document URL that `Document` nodes point to."
    },
    {
      "name": "baseURL",
      "type": "string",
      "optional": true,
      "description": "Document URL that `Document` nodes use for URL completion."
    },
    {
      "name": "publicId",
      "type": "string",
      "optional": true,
      "description": "`DocumentType` Node's publicId."
    },
    {
      "name": "systemId",
      "type": "string",
      "optional": true,
      "description": "`DocumentType` Node's systemId."
    },
    {
      "name": "internalSubset",
      "type": "string",
      "optional": true,
      "description": "`DocumentType` Node's internalSubset."
    },
    {
      "name": "xmlVersion",
      "type": "string",
      "optional": true,
      "description": "`Document` Node's xml version in the case of XML documents."
    },
    {
      "name": "name",
      "type": "string",
      "optional": true,
      "description": "`Attr` Node's name."
    },
    {
      "name": "value",
      "type": "string",
      "optional": true,
      "description": "`Attr` Node's value."
    },
    {
      "name": "frameId",
      "$ref": "Page.FrameId",
      "optional": true,
      "description": "Frame ID for frame owner elements."
    },
    {
      "name": "contentDocument",
      "$ref": "Node",
      "optional": true,
      "description": "Content document for frame owner elements."
    },
    {
      "name": "isSVG",
      "type": "boolean",
      "optional": true,
      "description": "True if the node is SVG."
    }
  ]
}