Class AutoAttachRelatedCommandSettings
Adds the specified target to the list of targets that will be monitored for any related target
creation (such as child frames, child workers and new versions of service worker) and reported
through attachedToTarget. The specified target is also auto-attached.
This cancels the effect of any previous setAutoAttach and is also cancelled by subsequent
setAutoAttach. Only available at the Browser target.
public sealed class AutoAttachRelatedCommandSettings : ICommand
- Inheritance
-
AutoAttachRelatedCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Filter
Only targets matching filter will be attached.
[JsonPropertyName("filter")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object[]? Filter { get; set; }
Property Value
- object[]
TargetId
Gets or sets the targetId
[JsonPropertyName("targetId")]
public string TargetId { get; set; }
Property Value
WaitForDebuggerOnStart
Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger
to run paused targets.
[JsonPropertyName("waitForDebuggerOnStart")]
public bool WaitForDebuggerOnStart { get; set; }