Test Browser
---
description: "Run browser tests on pages affected by current PR or branch"
argument-hint: "[PR number, branch name, 'current', or --port PORT]"
source: "upstream:skills/test-browser/SKILL.md"
---
# Browser Test Skill
Run end-to-end browser tests on pages affected by a PR or branch changes using the `agent-browser` CLI.
## Use `agent-browser` Only For Browser Automation
This workflow uses the `agent-browser` CLI exclusively. Do not use any alternative browser automation system, browser MCP integration, or built-in browser-control tool. If the platform offers multiple ways to control a browser, always choose `agent-browser`.
Use `agent-browser` for: opening pages, clicking elements, filling forms, taking screenshots, and scraping rendered content.
Platform-specific hints:
- In Claude Code, do not use Chrome MCP tools (`mcp__claude-in-chrome__*`).
- In Codex, do not substitute unrelated browsing tools.
## Prerequisites
- Local development server running (e.g., `bin/dev`, `rails server`, `npm run dev`)
- `agent-browser` CLI installed (see Setup below)
- Git repository with changes to test
## Setup
Check whether `agent-browser` is installed:when to use it
Community prompt sourced from the open-source GitHub repo ThewindMom/compound-engineering-pi (MIT). A "Test Browser" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
ThewindMom/compound-engineering-pi · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar