Overlay.setInspectMode

Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.

{
  "name": "setInspectMode",
  "description": "Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.",
  "parameters": [
    {
      "name": "mode",
      "$ref": "InspectMode",
      "description": "Set an inspection mode."
    },
    {
      "name": "highlightConfig",
      "$ref": "HighlightConfig",
      "optional": true,
      "description": "A descriptor for the highlight appearance of hovered-over nodes. May be omitted if enabled == false."
    }
  ]
}