Browser Automation with agent-browser
Priority Note
For fetching Rust/crate information, use this priority order:
- rust-learner skill - Orchestrates actionbook + browser-fetcher
- actionbook MCP - Pre-computed selectors for known sites
- agent-browser CLI - Direct browser automation (last resort)
Use agent-browser directly only when:
- actionbook has no pre-computed selectors for the target site
- You need interactive browser testing/automation
- You need screenshots or form filling
Quick start
Core workflow
- Navigate:
agent-browser open <url> - Snapshot:
agent-browser snapshot -i(returns elements with refs like@e1,@e2) - Interact using refs from the snapshot
- Re-snapshot after navigation or significant DOM changes



