| name | c-browser |
| description | Headless browser automation — navigate pages, click elements, fill forms, take screenshots, scrape content using agent-browser or playwright-cli. |
| tags | ["browser","automation","scraping","web"] |
Browser Automation
agent-browser (Vercel)
Navigate and interact with web pages using structured snapshots:
agent-browser open "https://example.com"
agent-browser snapshot -i
agent-browser click @e2
agent-browser fill @e5 "search query"
agent-browser screenshot --annotate
agent-browser type "hello world"
agent-browser press Enter
playwright-cli (Microsoft)
Token-efficient browser automation designed for AI agents:
playwright-cli install-browser
playwright-cli navigate "https://example.com"
playwright-cli snapshot
playwright-cli click "Submit button"
playwright-cli fill "Search" "query text"
playwright-cli screenshot
Guidelines
- Use agent-browser for AI-driven web interaction (snapshot-ref pattern)
- Use playwright-cli for structured automation and testing flows
- Always check snapshots before clicking — element refs change between pages
- For login flows, navigate step by step and verify each page loads
- Respect robots.txt and rate limits when scraping