DOM.highlightNode

Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.

{
  "name": "highlightNode",
  "parameters": [
    {
      "name": "highlightConfig",
      "$ref": "HighlightConfig",
      "description": "A descriptor for the highlight appearance."
    },
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "optional": true,
      "description": "Identifier of the node to highlight."
    },
    {
      "name": "objectId",
      "$ref": "Runtime.RemoteObjectId",
      "optional": true,
      "description": "JavaScript object id of the node to be highlighted."
    }
  ],
  "description": "Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified."
}