Module chromiumoxide_cdp::cdp::browser_protocol::target[][src]

Supports additional targets discovery and allows to attach to them.

Structs

ActivateTargetParams

Activates (focuses) the target. activateTarget

ActivateTargetParamsBuilder
ActivateTargetReturns

Activates (focuses) the target. activateTarget

AttachToBrowserTargetParams

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

AttachToBrowserTargetReturns

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

AttachToBrowserTargetReturnsBuilder
AttachToTargetParams

Attaches to the target with given id. attachToTarget

AttachToTargetParamsBuilder
AttachToTargetReturns

Attaches to the target with given id. attachToTarget

AttachToTargetReturnsBuilder
CloseTargetParams

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

CloseTargetParamsBuilder
CloseTargetReturns

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

CreateBrowserContextParams

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

CreateBrowserContextParamsBuilder
CreateBrowserContextReturns

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

CreateBrowserContextReturnsBuilder
CreateTargetParams

Creates a new page. createTarget

CreateTargetParamsBuilder
CreateTargetReturns

Creates a new page. createTarget

CreateTargetReturnsBuilder
DetachFromTargetParams

Detaches session with given id. detachFromTarget

DetachFromTargetParamsBuilder
DetachFromTargetReturns

Detaches session with given id. detachFromTarget

DisposeBrowserContextParams

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

DisposeBrowserContextParamsBuilder
DisposeBrowserContextReturns

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

EventAttachedToTarget

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

EventDetachedFromTarget

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. detachedFromTarget

EventReceivedMessageFromTarget

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

EventTargetCrashed

Issued when a target has crashed. targetCrashed

EventTargetCreated

Issued when a possible inspection target is created. targetCreated

EventTargetDestroyed

Issued when a target is destroyed. targetDestroyed

EventTargetInfoChanged

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

ExposeDevToolsProtocolParams

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

ExposeDevToolsProtocolParamsBuilder
ExposeDevToolsProtocolReturns

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

GetBrowserContextsParams

Returns all browser contexts created with Target.createBrowserContext method. getBrowserContexts

GetBrowserContextsReturns

Returns all browser contexts created with Target.createBrowserContext method. getBrowserContexts

GetBrowserContextsReturnsBuilder
GetTargetInfoParams

Returns information about a target. getTargetInfo

GetTargetInfoParamsBuilder
GetTargetInfoReturns

Returns information about a target. getTargetInfo

GetTargetInfoReturnsBuilder
GetTargetsParams

Retrieves a list of available targets. getTargets

GetTargetsReturns

Retrieves a list of available targets. getTargets

GetTargetsReturnsBuilder
RemoteLocation
RemoteLocationBuilder
SessionId

Unique identifier of attached debugging session. SessionID

SetAutoAttachParams

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. setAutoAttach

SetAutoAttachParamsBuilder
SetAutoAttachReturns

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. setAutoAttach

SetDiscoverTargetsParams

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

SetDiscoverTargetsParamsBuilder
SetDiscoverTargetsReturns

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

SetRemoteLocationsParams

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

SetRemoteLocationsParamsBuilder
SetRemoteLocationsReturns

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

TargetId
TargetInfo
TargetInfoBuilder