What problem does it solve?
This Skill provides a lightweight, CLI-based solution to automate web interactions for AI agents, allowing you to navigate pages, fill forms, capture screenshots, and scrape data without manual browser operations.
Core Features & Use Cases
- Command-line browser automation: Drive web tasks from chat or automation scripts using Vercel's agent-browser.
- Ref-based element interactions: Interact with page elements using stable refs (e.g., @e1) derived from accessibility snapshots.
- Screenshots, scraping, and form handling: Take screenshots for verification, extract data, and fill forms programmatically.
- Use Case: Example: log into a site, navigate to a report, capture a screenshot, and extract key metrics for daily dashboards.
Quick Start
Use the agent-browser to:
- Open a URL with agent-browser open https://example.com
- Snapshot interactive elements with agent-browser snapshot -i
- Interact with elements using refs like agent-browser click @e1
- Repeat as needed to automate tasks