What it does
Launches a headless Chromium browser that the assistant can control — navigate to URLs, click elements, fill forms, execute JavaScript, scroll pages, and read content. Uses accessibility snapshots to give the LLM numbered element references instead of fragile CSS selectors.Requirements
Install Playwright and Chromium (one-time):How the assistant uses it
The browser exposes seven actions, each registered as a separate tool:Typical browsing flow
- Assistant calls
browser_navigateto open a page - Assistant calls
browser_snapshotto see the page structure - Assistant identifies the right element by its ref number
- Assistant calls
browser_clickorbrowser_typeto interact - Assistant takes another snapshot if the page changed
Extracting structured data
For JavaScript-heavy pages (product listings, search results, data tables),browser_evaluate is often faster than repeated snapshot/scroll cycles:
Scrolling
browser_scroll scrolls the viewport by a pixel amount (default 500px). Useful for loading lazy content or reaching elements below the fold:
Wait conditions
browser_wait supports multiple strategies:
Configuration
Live Preview
When enabled, a real-time browser view panel appears on the right side of the chat while the assistant is browsing. You can watch navigation, clicks, form fills, and page transitions as they happen. Live Preview uses Chrome DevTools Protocol screencast to stream compressed JPEG frames directly from Chromium — the same technology that powers Chrome’s remote debugging. Frames are only pushed when the page visually changes, so bandwidth is naturally throttled.Enabling Live Preview
Live Preview is disabled by default. To turn it on:- Go to Settings → Tools → Browser
- Toggle Live Preview on
Live Preview adds ~20–50 KB per frame over the WebSocket connection. On typical browsing sessions this is well within normal bandwidth, but you may want to disable it on very slow connections.
