Table of Contents

Class SetDiscoverTargetsCommandSettings

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

Controls whether to discover available targets and notify via targetCreated/targetInfoChanged/targetDestroyed events.

public sealed class SetDiscoverTargetsCommandSettings : ICommand
Inheritance
SetDiscoverTargetsCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Discover

Whether to discover available targets.

[JsonPropertyName("discover")]
public bool Discover { get; set; }

Property Value

bool

Filter

Only targets matching filter will be attached. If discover is false, filter must be omitted or empty.

[JsonPropertyName("filter")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object[]? Filter { get; set; }

Property Value

object[]