DOM.setInspectModeEnabled

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

{
  "name": "setInspectModeEnabled",
  "parameters": [
    {
      "name": "enabled",
      "type": "boolean",
      "description": "True to enable inspection mode, false to disable it."
    },
    {
      "name": "highlightConfig",
      "$ref": "HighlightConfig",
      "optional": true,
      "description": "A descriptor for the highlight appearance of hovered-over nodes. May be omitted if enabled == false."
    }
  ],
  "description": "Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspect' command upon element selection."
}