Skip to content

BrowserConfig

Category: Web

Source: browser_config.dart

Enums

BrowserBackend

ValueDescription
local
docker
steel
browserbase
browserless
anchor
hyperbrowser

Classes

BrowserConfig

Constructor

dart
const BrowserConfig({
    this.backend = BrowserBackend.local,
    this.headed = false,
    this.navigationTimeoutSeconds =
        AppConstants.browserNavigationTimeoutSeconds,
    this.actionTimeoutSeconds = AppConstants.browserActionTimeoutSeconds,
    this.dockerImage = AppConstants.browserDockerImage,
    this.dockerPort = AppConstants.browserDockerPort,
    this.steelApiKey,
    this.browserbaseApiKey,
    this.browserbaseProjectId,
    this.browserlessBaseUrl,
    this.browserlessApiKey,
    this.anchorApiKey,
    this.hyperbrowserApiKey,
  })

Properties

PropertyTypeDescription
backendBrowserBackend
headedbool
navigationTimeoutSecondsint
actionTimeoutSecondsint
dockerImageString
dockerPortint
steelApiKeyString?
browserbaseApiKeyString?
browserbaseProjectIdString?
browserlessBaseUrlString?
browserlessApiKeyString?
anchorApiKeyString?
hyperbrowserApiKeyString?
isConfiguredbool getWhether the selected backend has valid credentials/configuration.
isConfiguredbool getWhether the selected backend has valid credentials/configuration.

Released under the MIT License.