package
0.0.0-20200525080501-418ac89e6fd2
Repository: https://github.com/bootgo/cdproto.git
Documentation: pkg.go.dev
# Functions
ActivateTarget activates (focuses) the target.
AttachToBrowserTarget attaches to the browser target, only uses flat sessionId mode.
AttachToTarget attaches to the target with given id.
CloseTarget closes the target.
CreateBrowserContext creates a new empty BrowserContext.
CreateTarget creates a new page.
DetachFromTarget detaches session with given id.
DisposeBrowserContext deletes a BrowserContext.
ExposeDevToolsProtocol inject object to the target's main frame that provides a communication channel with browser target.
GetBrowserContexts returns all browser contexts created with Target.createBrowserContext method.
GetTargetInfo returns information about a target.
GetTargets retrieves a list of available targets.
SendMessageToTarget sends protocol message over session with given id.
SetAutoAttach controls whether to automatically attach to new targets which are considered to be related to this one.
SetDiscoverTargets controls whether to discover available targets and notify via targetCreated/targetInfoChanged/targetDestroyed events.
SetRemoteLocations enables target discovery for the specified locations, when setDiscoverTargets was set to true.
# Constants
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
# Structs
ActivateTargetParams activates (focuses) the target.
AttachToBrowserTargetParams attaches to the browser target, only uses flat sessionId mode.
AttachToBrowserTargetReturns return values.
AttachToTargetParams attaches to the target with given id.
AttachToTargetReturns return values.
CloseTargetParams closes the target.
CloseTargetReturns return values.
CreateBrowserContextParams creates a new empty BrowserContext.
CreateBrowserContextReturns return values.
CreateTargetParams creates a new page.
CreateTargetReturns return values.
DetachFromTargetParams detaches session with given id.
DisposeBrowserContextParams deletes a BrowserContext.
EventAttachedToTarget issued when attached to target because of auto-attach or attachToTarget command.
EventDetachedFromTarget issued when detached from target for any reason (including detachFromTarget command).
EventReceivedMessageFromTarget notifies about a new protocol message received from the session (as reported in attachedToTarget event).
EventTargetCrashed issued when a target has crashed.
EventTargetCreated issued when a possible inspection target is created.
EventTargetDestroyed issued when a target is destroyed.
EventTargetInfoChanged issued when some information about a target has changed.
ExposeDevToolsProtocolParams 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.
GetBrowserContextsReturns return values.
GetTargetInfoParams returns information about a target.
GetTargetInfoReturns return values.
GetTargetsParams retrieves a list of available targets.
GetTargetsReturns return values.
Info [no description].
RemoteLocation [no description].
SendMessageToTargetParams sends protocol message over session with given id.
SetAutoAttachParams controls whether to automatically attach to new targets which are considered to be related to this one.
SetDiscoverTargetsParams controls whether to discover available targets and notify via targetCreated/targetInfoChanged/targetDestroyed events.
SetRemoteLocationsParams enables target discovery for the specified locations, when setDiscoverTargets was set to true.
# Type aliases
BrowserContextID [no description].
ID [no description].
SessionID unique identifier of attached debugging session.