- Home
- Skills
- Browserbase
- Skills Old
- Browser Automation
browser-automation_skill
0
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill browserbase/skills-old --skill browser-automation- SKILL.md10.5 KB
Overview
This skill automates web browser interactions for AI agents using the browse CLI connected to a pre-created Browserbase session. It provides reliable, stateful remote browsing with stealth, residential proxies, and CAPTCHA handling. Always include the --ws $BROWSERBASE_CONNECT_URL flag to run commands in the cloud session rather than launching a local browser.
How this skill works
Commands run the browse CLI against a Browserbase websocket URL stored in BROWSERBASE_CONNECT_URL. Use snapshot to get element refs like @0-5, then perform clicks, fills, typing, navigation, screenshots, and network captures against those refs. The daemon maintains session state (cookies, tabs) and supports multi-tab workflows, request capture, and automatic recovery.
When to use it
- Navigate websites or interact with web applications remotely
- Extract structured data or page text and HTML
- Automate form fills, logins, or multi-step workflows
- Take screenshots or capture network requests for analysis
- Run scripted interactions that require stealth, proxying, or CAPTCHA solving
Best practices
- Always prepend every command with --ws $BROWSERBASE_CONNECT_URL to use the remote Browserbase session
- Run snapshot -c after navigation or any action that changes the page to get fresh element refs
- Prefer refs from snapshot (@0-5) instead of manual selectors for reliability
- Wait for load or specific selectors before interacting with elements on slow pages
- Use compact snapshots (-c) for speed and stop the session when finished to free resources
Example use cases
- Login flow automation: open login page, snapshot, fill credentials by refs, click sign in, wait load, verify state
- Search-and-extract: submit a query, wait for results selector, snapshot, get text from result refs
- Multi-page scraping: navigate via links using refs, re-snapshot on each page, extract structured data
- Visual checks and reporting: take full-page screenshots or targeted screenshots after interactions
- Network inspection: enable network capture, perform actions, and inspect saved request/response JSON
FAQ
Omitting --ws launches a local Chrome instance instead of the cloud session and will bypass stealth, proxy, and CAPTCHA features. Tests and evaluations will fail if you forget --ws.
How do I find element refs to click or fill?
Run browse --ws $BROWSERBASE_CONNECT_URL snapshot -c to produce an accessibility tree with refs like [0-5], then use those refs in click, fill, get, and other commands.