Agent browser

From getsentry/junior · View interactive version

Agent browser is an AI agent skill from the GitHub repository getsentry/junior. Automate websites with the agent-browser CLI for navigation, form flows, screenshots, extraction, and repeatable browser tasks. Use when users ask to interact with web apps, gather evidence from pages, or run browser-based QA steps.

How to use this skill

Skill file

Browser Automation

Use this skill when work requires real browser interaction instead of API-only lookups.

Core Workflow

  1. Open target page:
  1. Capture interactive refs:
  1. Interact by ref:
  1. Re-snapshot after every navigation or significant DOM change:
  1. Capture result evidence:

Operational Rules

Common Patterns

Form flow

agent-browser --session demo open https://example.com/signup
agent-browser --session demo wait --load networkidle
agent-browser --session demo snapshot -i
agent-browser --session demo fill @e1 "user@example.com"
agent-browser --session demo click @e2
agent-browser --session demo wait --load networkidle
agent-browser --session demo screenshot --annotate /tmp/signup-result.png

Structured extraction

agent-browser open https://example.com
agent-browser snapshot --json > /tmp/page.json
agent-browser get text body > /tmp/page.txt

Reference Files

Read only what is needed:

Templates

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.