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
| Property | Type | Description |
|---|---|---|
cdpWsUrl | String | |
backendName | String | |
headed | bool | |
viewUrl | String? | |
debugFooter | String get | Debug 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
| Property | Type | Description |
|---|---|---|
name | String get | |
isConfigured | bool get | |
name | String get | |
isConfigured | bool get |