package
0.0.0-20240920093258-0eb8b47e7929
Repository: https://github.com/ecwid/control.git
Documentation: pkg.go.dev

# Functions

Activates (focuses) the target.
Attaches to the browser target, only uses flat sessionId mode.
Attaches to the target with given id.
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`.
Closes the target.
Creates a new empty BrowserContext.
Creates a new page.
Detaches session with given id.
Deletes a BrowserContext.
Inject object to the target's main frame that provides a communication channel with browser target.
Returns all browser contexts created with `Target.createBrowserContext` method.
Returns information about a target.
Retrieves a list of available targets.
Controls whether to automatically attach to new targets which are considered to be related to this one.
Controls whether to discover available targets and notify via `targetCreated/targetInfoChanged/targetDestroyed` events.
Enables target discovery for the specified locations, when `setDiscoverTargets` was set to `true`.

# Structs

No description provided by the author
Issued when attached to target because of auto-attach or `attachToTarget` command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Issued when detached from target for any reason (including `detachFromTarget` command).
No description provided by the author
No description provided by the author
No description provided by the author
A filter used by target query/discovery/auto-attach operations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Notifies about a new protocol message received from the session (as reported in `attachedToTarget` event).
*/.
No description provided by the author
No description provided by the author
No description provided by the author
Issued when a target has crashed.
Issued when a possible inspection target is created.
Issued when a target is destroyed.
*/.
Issued when some information about a target has changed.

# Type aliases

Unique identifier of attached debugging session.
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.
*/.