Modern websites rarely serve raw static HTML. Between single-page application (SPA) frameworks, client-side data fetching, and dynamic JavaScript rendering, basic HTTP requests often return blank shells or empty loading spinners.
Browser Tools solve this by provisioning your assistant with a fully functional, headless Chromium browser powered by Playwright. Your assistant can browse the live web just like a human: executing JavaScript, waiting for content to render, taking high-resolution visual screenshots, clicking buttons, and extracting readable Markdown or structured data.
Capture full-page or element-level screenshots of live web pages and local HTML dashboards stored in workspace storage.
Click links, fill out forms, press keys, wait for selectors, and navigate multi-step flows on dynamic web pages.
Extract clean Markdown, rendered plain text, or structured CSS arrays from modern client-rendered applications.
Why use Browser Tools?#
Connecting an assistant to a headless browser bridges the gap between static text and the interactive web:
- JavaScript execution: Many documentation sites, blogs, and SaaS platforms render their text via client-side JavaScript. Browser Tools run the page's scripts before extracting content.
- Visual layout verification: When vibe coding dashboard pages, interactive widgets, or report templates, the assistant can render the HTML, capture a screenshot, and visually inspect styling, fonts, and responsive layouts before delivering them.
- Overcoming dynamic walls: Assistants can click accordions, dismiss non-blocking overlays, select dropdown filters, and paginate through search results.
Enabling Browser Tools#
You can enable browser access per assistant or activate it on the fly during a conversation.
1. Default assistant configuration#
To grant an assistant persistent browser access:
- In the UI: Open the assistant's Configure tab and toggle Browser under Chat Defaults.
- Through chat: Tell the assistant: "Enable browser access by default on this assistant."
2. On-demand deferred loading (load_browser_tools)#
Toolbelt uses deferred loading for browser capabilities to keep conversation prompts lean. Rather than loading heavy browser tool schemas on every single message turn, the assistant calls load_browser_tools() when a browsing task begins.
Once invoked, the dedicated browser tools become available on the assistant's very next step.
The Browser Tool Suite#
When browser tools are loaded, your assistant gains access to five core actions:
| Tool | Purpose | Primary Inputs |
|---|---|---|
browser_screenshot |
Captures a PNG screenshot of a web page or storage HTML file. | url, selector, fullPage |
browser_interact |
Performs actions: navigate, click, fill, press key, scroll, wait. | action, selector, text, key |
browser_get_text |
Extracts rendered plain text from the page or a target selector. | selector, url |
browser_get_markdown |
Converts rendered DOM elements into clean, readable Markdown. | selector, url |
browser_scrape |
Extracts structured arrays of elements matching a CSS selector. | selector, url, attributes |
Visual Verification & Dashboard Vibe Coding#
One of the most powerful workflows for Browser Tools is closed-loop visual design verification for HTML dashboards and web apps.
[ Write HTML to Storage ] ───▶ [ Generate Signed URL ] ───▶ [ browser_screenshot ] ───▶ [ Inspect Visuals & Patch ]
The visual feedback loop#
- Generate the app: The assistant writes an HTML dashboard file (e.g.,
apps/sales/index.html) to workspace storage. - Capture the render: The assistant generates a signed URL for the storage file and calls
browser_screenshot. - Inspect the image: The AI model inspects the captured screenshot to verify spacing, font contrast, chart rendering, and color alignment.
- Iterate: If elements overlap or styles fail, the assistant uses
patch_text_fileto fix the CSS and captures a follow-up screenshot to confirm the correction.
You can ask your assistant at any time: "Take a screenshot of the dashboard page you just wrote and verify that the layout looks clean on mobile."
Common Use Cases#
1. Researching live documentation#
When researching third-party libraries, API references, or release announcements where content is rendered on the client side:
"Use browser tools to visit https://docs.example.com/changelog
and summarize the breaking changes released this week."
The assistant navigates to the page, executes the client-side JavaScript, converts the DOM into Markdown via browser_get_markdown, and delivers an accurate summary.
2. Scraping structured tables and lists#
Extracting tabular data from web pages that don't offer public APIs:
"Scrape the pricing table at https://example.com/pricing
and save the tiers and monthly rates into a DuckDB table."
The assistant uses browser_scrape targeting the table selector, parses the returned attributes and text, and loads the structured data into DuckDB with SQL.
3. Multi-step web interaction#
Navigating paginated catalogs or interacting with filter forms:
"Navigate to the developer blog, click the 'Next Page' button,
and get the titles of the articles listed on page 2."
The assistant executes browser_interact with action click targeting the pagination selector, waits for the DOM update, and reads the updated article list.
Best Practices & Safety#
- Keep prompts focused: Point the assistant to specific URLs and specify what data or selectors you want extracted to minimize unnecessary page hops.
- Respect rate limits and robots.txt: Browser Tools run with standard desktop User-Agent headers. Avoid rapid-fire navigation loops against rate-limited endpoints.
- Bot mitigation & CAPTCHAs: Headless browsers cannot solve interactive CAPTCHAs or Cloudflare challenge pages. If a target site enforces CAPTCHA verification, use an official API or connected service instead.
- Resource cleanup: Headless browser sessions automatically close and recycle memory at the end of the assistant's tool-iteration turn.
