setInspectedNode

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

Official doc

Note: this function uses an input class, and constructing this class manually may lead to incompatibilities if the class's constructor arguments change in the future. For maximum compatibility, it is advised to use the overload of this function that directly takes the mandatory parameters as arguments, and the optional ones from a configuration lambda.


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

Official doc

Parameters

nodeId

DOM node id to be accessible by means of $x command line API.