Module chrome_remote_interface_model::target[][src]

Supports additional targets discovery and allows to attach to them.

Structs

ActivateTargetCommand

Activates (focuses) the target.

ActivateTargetReturn

Activates (focuses) the target.

AttachToBrowserTargetCommand

Attaches to the browser target, only uses flat sessionId mode.

AttachToBrowserTargetReturn

Attaches to the browser target, only uses flat sessionId mode.

AttachToTargetCommand

Attaches to the target with given id.

AttachToTargetReturn

Attaches to the target with given id.

AttachedToTargetEvent

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

CloseTargetCommand

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

CloseTargetReturn

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

CreateBrowserContextCommand

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

CreateBrowserContextReturn

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

CreateTargetCommand

Creates a new page.

CreateTargetCommandBuilder
CreateTargetReturn

Creates a new page.

DetachFromTargetCommand

Detaches session with given id.

DetachFromTargetReturn

Detaches session with given id.

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.

DisposeBrowserContextCommand

Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks.

DisposeBrowserContextReturn

Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks.

ExposeDevToolsProtocolCommand

Inject object to the target's main frame that provides a communication channel with browser target.

ExposeDevToolsProtocolReturn

Inject object to the target's main frame that provides a communication channel with browser target.

GetBrowserContextsCommand

Returns all browser contexts created with Target.createBrowserContext method.

GetBrowserContextsReturn

Returns all browser contexts created with Target.createBrowserContext method.

GetTargetInfoCommand

Returns information about a target.

GetTargetInfoReturn

Returns information about a target.

GetTargetsCommand

Retrieves a list of available targets.

GetTargetsReturn

Retrieves a list of available targets.

ReceivedMessageFromTargetEvent

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

RemoteLocation
SendMessageToTargetCommandDeprecated

Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325.

SendMessageToTargetReturnDeprecated

Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325.

SessionId

Unique identifier of attached debugging session.

SetAutoAttachCommand

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.

SetAutoAttachReturn

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

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

SetDiscoverTargetsReturn

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

SetRemoteLocationsCommand

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

SetRemoteLocationsReturn

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

TargetCrashedEvent

Issued when a target has crashed.

TargetCreatedEvent

Issued when a possible inspection target is created.

TargetDestroyedEvent

Issued when a target is destroyed.

TargetId
TargetInfo
TargetInfoBuilder
TargetInfoChangedEvent

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