Overlay.highlightNode

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

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