DOM.highlightNode

Higlights DOM node with given id or object wrapper. nodeId, backendNodeId, or objectId must be specified.

{
  "name": "highlightNode",
  "parameters": [
    {
      "$ref": "NodeId",
      "optional": true,
      "name": "nodeId",
      "description": "Identifier of the node to highlight."
    },
    {
      "$ref": "BackendNodeId",
      "optional": true,
      "name": "backendNodeId",
      "description": "Identifier of the backend node to highlight."
    },
    {
      "$ref": "Runtime.RemoteObjectId",
      "optional": true,
      "name": "objectId",
      "description": "JavaScript object id of the node to be highlighted."
    },
    {
      "$ref": "HighlightConfig",
      "name": "higlightConfig",
      "description": "Descriptor of the highlight appearance."
    }
  ],
  "returns": [
    {
      "name": "root",
      "$ref": "Node",
      "description": "Resulting Node."
    }
  ],
  "description": "Higlights DOM node with given id or object wrapper. nodeId, backendNodeId, or objectId must be specified."
}