package
0.0.0-20250224005500-01948a15fe7c
Repository: https://github.com/chromedp/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.
AutoAttachRelated adds the specified target to the list of targets that will be monitored for any related target creation (such as child frames, child workers and new versions of service worker) and reported through attachedToTarget.
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.
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.
WindowState values.
WindowState values.
WindowState values.
WindowState values.

# 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.
AutoAttachRelatedParams adds the specified target to the list of targets that will be monitored for any related target creation (such as child frames, child workers and new versions of service worker) and reported through attachedToTarget.
CloseTargetParams closes the target.
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.
FilterEntry a filter used by target query/discovery/auto-attach operations.
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].
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

Filter the entries in TargetFilter are matched sequentially against targets and the first entry that matches determines if the target is included or not, depending on the value of exclude field in the entry.
ID [no description].
SessionID unique identifier of attached debugging session.
WindowState the state of the target window.