Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 3.94 KB

puppeteer.protocol.target.md

File metadata and controls

56 lines (46 loc) · 3.94 KB

Home > puppeteer > Protocol > Target

Protocol.Target namespace

Supports additional targets discovery and allows to attach to them.

Signature:

export namespace Target 

Interfaces

Interface Description
ActivateTargetRequest
AttachedToTargetEvent Issued when attached to target because of auto-attach or attachToTarget command.
AttachToBrowserTargetResponse
AttachToTargetRequest
AttachToTargetResponse
CloseTargetRequest
CloseTargetResponse
CreateBrowserContextRequest
CreateBrowserContextResponse
CreateTargetRequest
CreateTargetResponse
DetachedFromTargetEvent Issued when detached from target for any reason (including detachFromTarget command). Can be issued multiple times per target if multiple sessions have been attached to it.
DetachFromTargetRequest
DisposeBrowserContextRequest
ExposeDevToolsProtocolRequest
GetBrowserContextsResponse
GetTargetInfoRequest
GetTargetInfoResponse
GetTargetsResponse
ReceivedMessageFromTargetEvent Notifies about a new protocol message received from the session (as reported in attachedToTarget event).
RemoteLocation
SendMessageToTargetRequest
SetAutoAttachRequest
SetDiscoverTargetsRequest
SetRemoteLocationsRequest
TargetCrashedEvent Issued when a target has crashed.
TargetCreatedEvent Issued when a possible inspection target is created.
TargetDestroyedEvent Issued when a target is destroyed.
TargetInfo
TargetInfoChangedEvent Issued when some information about a target has changed. This only happens between targetCreated and targetDestroyed.

Type Aliases

Type Alias Description
SessionID Unique identifier of attached debugging session.
TargetID