Table of Contents

Class SetInspectModeCommandSettings

Namespace
OpenQA.Selenium.DevTools.V146.Overlay
Assembly
Selenium.WebDriver.dll

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

public sealed class SetInspectModeCommandSettings : ICommand
Inheritance
SetInspectModeCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

HighlightConfig

A descriptor for the highlight appearance of hovered-over nodes. May be omitted if enabled == false.

[JsonPropertyName("highlightConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public HighlightConfig? HighlightConfig { get; set; }

Property Value

HighlightConfig

Mode

Set an inspection mode.

[JsonPropertyName("mode")]
public InspectMode Mode { get; set; }

Property Value

InspectMode