What problem does it solve?
agent-browser removes manual, repetitive web interactions by providing a CLI-driven browser automation interface that lets agents navigate pages, manipulate UI elements, extract content, and capture visual artifacts without hand-crafting browser scripts.
Core Features & Use Cases
- Interactive Element Refs: Snapshot-based refs (@e1, @e2, ...) allow compact, robust element targeting for clicks, fills, and selections.
- End-to-end Automation: Navigate, wait, interact, take annotated screenshots, save as PDF, record video, and perform diffs for visual regression or verification.
- Session & State Management: Named sessions, save/load state, persistent cookies/localStorage, and encryption options support authenticated workflows and concurrent sessions.
- Testing, Scraping & Debugging: Supports network routing/proxying, profiling, CDP connections, iOS simulator control, and replayable recordings for CI and debugging.
Quick Start
Open a website, take an interactive snapshot to identify element refs, interact with those refs to perform the task you need, and save the session state if you want to reuse authentication.