Table of Contents

Class AttachToTargetCommandSettings

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

Attaches to the target with given id.

public sealed class AttachToTargetCommandSettings : ICommand
Inheritance
AttachToTargetCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Flatten

Enables "flat" access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.

[JsonPropertyName("flatten")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Flatten { get; set; }

Property Value

bool?

TargetId

Gets or sets the targetId

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

Property Value

string