← ClaudeAtlas

testdrivermcp-workflowlisted

Build TestDriver tests iteratively using MCP tools with visual feedback
testdriverai/testdriverai · ★ 242 · AI & Automation · score 73
Install: claude install-skill testdriverai/testdriverai
# TestDriver MCP Workflow Build automated tests by directly controlling a sandbox through MCP tools. Every action returns a screenshot AND the generated code to add to your test file. ## When to Use This Skill Use this skill when: - You have access to TestDriver MCP tools (`session_start`, `find`, `click`, etc.) - User asks to "write a test", "automate this workflow", "check if X works" - You need to build tests iteratively with visual feedback ## Overview Use MCP tools to: 1. **Control the sandbox directly** - Click, type, scroll in real-time 2. **See visual feedback** - Every action shows a screenshot with overlays 3. **Get generated code** - Each successful action returns the code to add to your test file 4. **Build tests incrementally** - Append code to test files as you go ## Quick Start ### 1. Start a Session ``` session_start({ type: "chrome", url: "https://your-app.com" }) ``` This provisions a sandbox with Chrome and navigates to your URL. You'll see a screenshot and the provision code: ``` Add to test file: await testdriver.provision.chrome({ url: "https://your-app.com" }); ``` **For local development** (pointing to a custom API endpoint): ``` session_start({ type: "chrome", url: "https://your-app.com", apiRoot: "https://your-ngrok-url.ngrok.io" }) ``` **For self-hosted AWS instances** (your own Windows EC2): ``` session_start({ type: "chrome", url: "https://your-app.com", os: "windows", ip: "1.2.3.4" // IP from your AWS instance })