What problem does it solve?
agent-browser removes the manual effort of navigating websites, filling forms, taking screenshots, and extracting page information by turning common web interactions into repeatable steps.
Core Features & Use Cases
- Browser navigation & page control: Open URLs, go back/forward, reload, and close sessions reliably.
- Snapshot-based element targeting: Capture an accessibility tree (optionally interactive elements) and use stable refs to interact with the exact elements you need.
- Form interactions, extraction, and screenshots: Click, fill, check/uncheck, select options, wait for conditions, extract text/values, and generate screenshots for verification.
- Use case: For example, test a login flow by opening the login page, snapshotting interactive elements, filling credentials, submitting, waiting for the dashboard URL/load state, then extracting confirmation text and saving a screenshot.
Quick Start
Use agent-browser to open a URL, snapshot interactive elements, and then fill and submit a form using the returned refs.