DOM.setInspectedNode

Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).

{
  "name": "setInspectedNode",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "DOM node id to be accessible by means of $x command line API."
    }
  ],
  "description": "Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).",
  "experimental": true
}