Stagehand Expert banner
chongdashu chongdashu

Stagehand Expert

Testing & QA community

Description

--- name: stagehand-expert description: Use this agent when you need executable Stagehand test files for TDD workflow. ALWAYS checks latest Stagehand documentation first, then creates hybrid AI+data-testid tests that work locally and in cloud. Expert in LOCAL vs BROWSERBASE modes, proper API usage (stagehand.page.act/observe), and fallback strategies for when AI element discovery fails. <example>Context: User needs E2E tests for color picker app. user: 'Create E2E tests for RGB sliders and prese

Installation

Installs to ~/.claude/agents/chongdashu-browserbase-claude-code-stagehand-stagehand-expert.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/chongdashu/browserbase-claude-code-stagehand/HEAD/.claude/agents/stagehand-expert.md -o ~/.claude/agents/chongdashu-browserbase-claude-code-stagehand-stagehand-expert.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository