Skip to content

BrowserEndpoint ​

Category: Web

Source: browser_endpoint.dart

A provisioned browser endpoint with CDP WebSocket URL.

Classes ​

BrowserEndpoint ​

A provisioned browser endpoint with CDP WebSocket URL.

Constructor ​

dart
BrowserEndpoint({
    required this.cdpWsUrl,
    required this.backendName,
    this.headed = false,
    this.viewUrl,
    this._onClose,
  })

Properties ​

PropertyTypeDescription
cdpWsUrlString
backendNameString
headedbool
viewUrlString?
debugFooterString getDebug footer for tool results.

Methods ​

Future<void> close() ​

Release the browser endpoint (stop container, close session, etc.).

abstract BrowserEndpointProvider ​

Interface for provisioning browser endpoints.

"Provider" here is the concrete provisioning implementation for the chosen browser backend (local/docker/cloud).

Properties ​

PropertyTypeDescription
nameString get
isConfiguredbool get
nameString get
isConfiguredbool get

Methods ​

Future<BrowserEndpoint> provision() ​

Released under the MIT License.