Documentation
README
Browser Automation with agent-browser
Performance Rules (CRITICAL)
- ALWAYS chain commands with
&&when you don't need intermediate output. Each separate tool call costs seconds of round-trip latency. - ALWAYS combine open + wait + snapshot into one call:
agent-browser open <url> && agent-browser wait --load load && agent-browser snapshot -i - ALWAYS batch multiple interactions (fill, click, select) into one
&&chain when refs are already known. - Use
--load load(DOM load event) by default. Only usenetworkidlewhen you specifically need all XHR/fetch to complete (e.g., waiting for API-driven content). - Do NOT snapshot after every interaction — only re-snapshot when you need to discover new element refs (after navigation or major DOM changes).
This is the opening of the README. Read the full README on GitHub.