Browser Automation Skill
Web browser automation using agent-browser with AI-optimized snapshots. Reduces context by 93% using element refs (@e1, @e2) instead of full DOM.
Core Workflow
Quick Reference
Navigation
Snapshots (AI-Optimized)
Interaction
Get Info
Wait
Sessions
Selectors
Element Refs (Recommended)
CSS Selectors
Semantic Locators
Examples
Login Flow
Form Submission
Data Extraction
Multi-Session (Swarm)
Integration with Claude Flow
MCP Tools
All browser operations are available as MCP tools with browser/ prefix:
browser/openbrowser/snapshotbrowser/clickbrowser/fillbrowser/screenshot- etc.
Memory Integration
Hooks
Tips
- Always use snapshots - They're optimized for AI with refs
- Prefer
-iflag - Gets only interactive elements, smaller output - Use refs, not selectors - More reliable, deterministic
- Re-snapshot after navigation - Page state changes
- Use sessions for parallel work - Each session is isolated

