Module cdp::target [] [src]

[Experimental] Supports additional targets discovery and allows to attach to them.

Target

Commands

Events

Types

Structs

ActivateTargetCommand

[Experimental] Activates (focuses) the target.

ActivateTargetResponse

[Experimental] Activates (focuses) the target.

AttachToTargetCommand

[Experimental] Attaches to the target with given id.

AttachToTargetResponse

[Experimental] Attaches to the target with given id.

AttachedToTargetEvent

[Experimental] Issued when attached to target because of auto-attach or attachToTarget command.

CloseTargetCommand

[Experimental] Closes the target. If the target is a page that gets closed too.

CloseTargetResponse

[Experimental] Closes the target. If the target is a page that gets closed too.

CreateBrowserContextCommand

[Experimental] Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.

CreateBrowserContextResponse

[Experimental] Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.

CreateTargetCommand

[Experimental] Creates a new page.

CreateTargetResponse

[Experimental] Creates a new page.

DetachFromTargetCommand

[Experimental] Detaches session with given id.

DetachFromTargetResponse

[Experimental] Detaches session with given id.

DetachedFromTargetEvent

[Experimental] 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.

DisposeBrowserContextCommand

[Experimental] Deletes a BrowserContext, will fail of any open page uses it.

DisposeBrowserContextResponse

[Experimental] Deletes a BrowserContext, will fail of any open page uses it.

GetTargetInfoCommand

[Experimental] Returns information about a target.

GetTargetInfoResponse

[Experimental] Returns information about a target.

GetTargetsCommand

[Experimental] Retrieves a list of available targets.

GetTargetsResponse

[Experimental] Retrieves a list of available targets.

ReceivedMessageFromTargetEvent

[Experimental] Notifies about a new protocol message received from the session (as reported in attachedToTarget event).

RemoteLocation

[Experimental]

SendMessageToTargetCommand

[Experimental] Sends protocol message over session with given id.

SendMessageToTargetResponse

[Experimental] Sends protocol message over session with given id.

SetAttachToFramesCommand

[Experimental]

SetAttachToFramesResponse

[Experimental]

SetAutoAttachCommand

[Experimental] Controls whether to automatically attach to new targets which are considered to be related to this one. When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets.

SetAutoAttachResponse

[Experimental] Controls whether to automatically attach to new targets which are considered to be related to this one. When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets.

SetDiscoverTargetsCommand

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

SetDiscoverTargetsResponse

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

SetRemoteLocationsCommand

[Experimental] Enables target discovery for the specified locations, when setDiscoverTargets was set to true.

SetRemoteLocationsResponse

[Experimental] Enables target discovery for the specified locations, when setDiscoverTargets was set to true.

TargetCreatedEvent

[Experimental] Issued when a possible inspection target is created.

TargetDestroyedEvent

[Experimental] Issued when a target is destroyed.

TargetInfo

[Experimental]

TargetInfoChangedEvent

[Experimental] Issued when some information about a target has changed. This only happens between targetCreated and targetDestroyed.

Type Definitions

BrowserContextId

[Experimental]

SessionId

[Experimental] Unique identifier of attached debugging session.

TargetId

[Experimental]