Skip to main content
An Engine is a system that sets up and runs specific processes to perform handler. It organizes different handler functions and uses a given prompt along with a language model to activate them. Essentially, the engine helps manage and trigger these processes to carry out actions based on the instructions it receives.

Parameters

Browser Engine

The BrowserEngine is a specialized engine designed to execute browser-based automation tasks using a set of predefined browser handlers. It coordinates a language model, a prompt template, and a browser context to perform interactive web actions such as navigation, input, clicking, scrolling, and data extraction. By interpreting instructions and invoking the appropriate browser tools, the BrowserEngine enables intelligent and automated web browsing workflows, including optional screenshot capturing and step-based execution control.

Parameters

BrowserEngine:

Browser Configuration:

BrowserConfig controls the global launch behavior and core settings for the browser instance. It specifies parameters like headless mode, browser type, proxy settings, and remote connections. This configuration is applied when the browser starts and affects all created contexts and pages.
Browser config

BrowserConfig Parameters:

Browser Context Configuration:

BrowserContextConfig defines the default environment and behavior for each new browser context. It includes settings like cookies, viewport size, user agent, locale, and download paths. This configuration ensures isolated, customizable sessions within a single browser instance.

BrowserContextConfig Parameters: