Chrome Remote Interface v0.0.4 ChromeRemoteInterface.RPC.Target View Source
Supports additional targets discovery and allows to attach to them.
Link to this section Summary
Functions
Activates (focuses) the target
Attaches to the target with given id
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 page
Detaches from the target with given id
Deletes a BrowserContext, will fail of any open page uses it
Returns information about a target
Retrieves a list of available targets
Sends protocol message to the target with given id
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/targetDestroyed
events
Enables target discovery for the specified locations, when setDiscoverTargets
was set to true
Link to this section Functions
Activates (focuses) the target.
Parameters:
targetId -
Attaches to the target with given id.
Parameters:
targetId -
Closes the target. If the target is a page that gets closed too.
Parameters:
targetId -
Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.
Parameters:
Creates a new page.
Parameters:
url -
Detaches from the target with given id.
Parameters:
targetId -
Deletes a BrowserContext, will fail of any open page uses it.
Parameters:
browserContextId -
Returns information about a target.
Parameters:
targetId -
Retrieves a list of available targets.
Parameters:
Sends protocol message to the target with given id.
Parameters:
targetId -
Parameters:
value -
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.
Parameters:
autoAttach - Runtime.runIfWaitingForDebugger
to run paused targets.
Controls whether to discover available targets and notify via targetCreated/targetDestroyed
events.
Parameters:
discover -
Enables target discovery for the specified locations, when setDiscoverTargets
was set to true
.
Parameters:
locations -