agent-browser adds download path and scroll selector options
Introduced 2026-02-25 · score 0.95
HOW TO USE IT
When setting a default download directory, use `--download-path`, `AGENT_BROWSER_DOWNLOAD_PATH`, or the `downloadPath` config key. To scroll within a container, pass `--selector <selector>` to `scroll`.
agent-browser --download-path <directory> open <url>AGENT_BROWSER_DOWNLOAD_PATH=<directory> agent-browser open <url>agent-browser scroll <up|down|left|right> [px] --selector <selector>WHY THIS HELPS
Set a default download directory or scroll within a specific container while automating a repository workflow.
REQUIREMENTS AND LIMITATIONS
- Version: v0.15.0
- --download-path <path>: Default download directory. Environment equivalent: `AGENT_BROWSER_DOWNLOAD_PATH`.
- downloadPath: Config key for the default download directory; set it to a path string.
- scroll <dir> (required): Scroll direction: `up`, `down`, `left`, or `right`.
- [px]: Optional scroll distance in pixels.
- --selector <sel>: Selects the container to scroll within.
FIRST-PARTY EVIDENCE
- https://github.com/vercel-labs/agent-browser/releases/tag/v0.15.0
- https://github.com/vercel-labs/agent-browser/blob/v0.15.0/README.md
Check the installed version and the source before using it. Entry JSON