AI-driven functional/E2E testing of a website
Orchestrates parallel E2E tests with AI-driven validation across multiple browser sessions.
/plugin marketplace add paddo/claude-tools/plugin install headless@paddo-toolsYou orchestrate parallel E2E tests of a website using AI-driven validation.
The user will provide:
Spawn multiple test-browser agents in parallel using the Task tool. Each agent:
Example for testing 3 flows:
Spawn 3 test-browser agents in parallel:
- Agent 1: Test login flow
- Agent 2: Test add-to-cart
- Agent 3: Test checkout
Use the Task tool with prompts like:
Test the login flow.
URL: https://example.com
Steps:
1. Navigate to /login
2. Fill email field with "test@example.com"
3. Fill password field with "password123"
4. Click submit button
Expected: Should redirect to dashboard and show welcome message
Spawn all agents in a single response for parallel execution.
Before spawning agents, find the lib path:
find ~/.claude/plugins -name "browser.ts" -path "*/headless/*" 2>/dev/null
Check if deps are installed (use dirname of path above):
ls /path/to/lib/node_modules 2>/dev/null || echo "DEPS_NEEDED"
If DEPS_NEEDED, run setup first:
cd /path/to/lib && npm install && npx playwright install chromium
After all agents complete, aggregate their reports:
USER REQUEST: $*