setInspectedNode

suspend fun setInspectedNode(args: DOM.SetInspectedNodeParameter, mode: CommandMode = CommandMode.DEFAULT)

Enables console to refer to the node with given id via

$x (see Command Line API for more details $

x functions).


suspend fun setInspectedNode(nodeId: Int)

Enables console to refer to the node with given id via

$x (see Command Line API for more details $

x functions).

Parameters

nodeId

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