Available on crate feature
Target only.Expand description
Supports additional targets discovery and allows to attach to them.
Structs§
- Activate
Target Command - Activates (focuses) the target.
- Activate
Target Return - Activates (focuses) the target.
- Attach
ToBrowser Target Command experimental - Attaches to the browser target, only uses flat sessionId mode.
- Attach
ToBrowser Target Return experimental - Attaches to the browser target, only uses flat sessionId mode.
- Attach
ToTarget Command - Attaches to the target with given id.
- Attach
ToTarget Return - Attaches to the target with given id.
- Attached
ToTarget Event experimental - Issued when attached to target because of auto-attach or
attachToTargetcommand. - Close
Target Command - Closes the target. If the target is a page that gets closed too.
- Close
Target Return - Closes the target. If the target is a page that gets closed too.
- Create
Browser Context Command experimental - Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.
- Create
Browser Context Return experimental - Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.
- Create
Target Command - Creates a new page.
- Create
Target Command Builder - Create
Target Return - Creates a new page.
- Detach
From Target Command - Detaches session with given id.
- Detach
From Target Return - Detaches session with given id.
- Detached
From Target Event experimental - Issued when detached from target for any reason (including
detachFromTargetcommand). Can be issued multiple times per target if multiple sessions have been attached to it. - Dispose
Browser Context Command experimental - Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks.
- Dispose
Browser Context Return experimental - Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks.
- Expose
DevTools Protocol Command experimental - Inject object to the target’s main frame that provides a communication channel with browser target.
- Expose
DevTools Protocol Return experimental - Inject object to the target’s main frame that provides a communication channel with browser target.
- GetBrowser
Contexts Command experimental - Returns all browser contexts created with
Target.createBrowserContextmethod. - GetBrowser
Contexts Return experimental - Returns all browser contexts created with
Target.createBrowserContextmethod. - GetTarget
Info Command experimental - Returns information about a target.
- GetTarget
Info Return experimental - Returns information about a target.
- GetTargets
Command - Retrieves a list of available targets.
- GetTargets
Return - Retrieves a list of available targets.
- Received
Message From Target Event - Notifies about a new protocol message received from the session (as reported in
attachedToTargetevent). - Remote
Location experimental - Send
Message ToTarget Command Deprecated - Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325.
- Send
Message ToTarget Return Deprecated - Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325.
- Session
Id - Unique identifier of attached debugging session.
- SetAuto
Attach Command 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.
- SetAuto
Attach Return 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.
- SetDiscover
Targets Command - Controls whether to discover available targets and notify via
targetCreated/targetInfoChanged/targetDestroyedevents. - SetDiscover
Targets Return - Controls whether to discover available targets and notify via
targetCreated/targetInfoChanged/targetDestroyedevents. - SetRemote
Locations Command experimental - Enables target discovery for the specified locations, when
setDiscoverTargetswas set totrue. - SetRemote
Locations Return experimental - Enables target discovery for the specified locations, when
setDiscoverTargetswas set totrue. - Target
Crashed Event - Issued when a target has crashed.
- Target
Created Event - Issued when a possible inspection target is created.
- Target
Destroyed Event - Issued when a target is destroyed.
- Target
Id - Target
Info - Target
Info Builder - Target
Info Changed Event - Issued when some information about a target has changed. This only happens between
targetCreatedandtargetDestroyed.