Module chrome_remote_interface_model::target[][src]

This is supported on crate feature Target only.
Expand description

Supports additional targets discovery and allows to attach to them.

Structs

Activates (focuses) the target.

Activates (focuses) the target.

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

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

Attaches to the target with given id.

Attaches to the target with given id.

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

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

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

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

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

Creates a new page.

Creates a new page.

Detaches session with given id.

Detaches session with given id.

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.

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

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

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

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

Returns all browser contexts created with Target.createBrowserContext method.

Returns all browser contexts created with Target.createBrowserContext method.

Returns information about a target.

Returns information about a target.

Retrieves a list of available targets.

Retrieves a list of available targets.

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

RemoteLocationexperimental

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

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

Unique identifier of attached debugging session.

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.

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.

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

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

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

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

Issued when a target has crashed.

Issued when a possible inspection target is created.

Issued when a target is destroyed.

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