Table of Contents

Class OpenDevToolsCommandSettings

Namespace
OpenQA.Selenium.DevTools.V147.Target
Assembly
Selenium.WebDriver.dll

Opens a DevTools window for the target.

public sealed class OpenDevToolsCommandSettings : ICommand
Inheritance
OpenDevToolsCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

PanelId

The id of the panel we want DevTools to open initially. Currently supported panels are elements, console, network, sources, resources and performance.

[JsonPropertyName("panelId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? PanelId { get; set; }

Property Value

string

TargetId

This can be the page or tab target ID.

[JsonPropertyName("targetId")]
public string TargetId { get; set; }

Property Value

string