Table of Contents

Class TargetAttachedEventArgs

Namespace
OpenQA.Selenium.DevTools
Assembly
WebDriver.dll

Event arguments present when the TargetAttached event is raised.

public class TargetAttachedEventArgs : EventArgs
Inheritance
TargetAttachedEventArgs
Inherited Members

Constructors

TargetAttachedEventArgs(string, TargetInfo?, bool)

Initializes a new instance of the TargetAttachedEventArgs type.

public TargetAttachedEventArgs(string sessionId, TargetInfo? targetInfo, bool waitingForDebugger)

Parameters

sessionId string

The ID of the session of the target attached.

targetInfo TargetInfo

The target which is attached.

waitingForDebugger bool

If the target is waiting on the debugger. Target continues after invoking Runtime.runIfWaitingForDebugger.

Properties

SessionId

Gets the ID of the session of the target attached.

public string SessionId { get; }

Property Value

string

TargetInfo

Gets the target which is attached.

public TargetInfo? TargetInfo { get; }

Property Value

TargetInfo

WaitingForDebugger

Gets if the target is waiting on the debugger. Target continues after invoking Runtime.runIfWaitingForDebugger.

public bool WaitingForDebugger { get; }

Property Value

bool