Skip to content

Testdriverai

Computer-Use SDK for E2E QA Testing

Install

$npx testdriverai init
Claude Code
claude mcp add testdriverai -- npx testdriverai init
Cursor / Claude Desktop (mcp.json)
{
  "mcpServers": {
    "testdriverai": {
      "command": "npx",
      "args": [
        "testdriverai",
        "init"
      ]
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

Computer-Use SDK for E2E QA Testing

The TestDriver SDK is a JS plugin for vitest that makes it easy to spawn ephemeral devices and use vision-based LLMs to construct detemanistic and reliable tests.

🚀 Quick Start • 📖 Documentation • 💻 Examples • 📖 Pricing • 💬 Discord • 🌐 Website


Why TestDriver?

Don't ship bugs because flows are too hard to test. TestDriver helps engineering teams easily test, debug, and monitor E2E flows that are hard or impossible to cover with other tools like:

Third-Party Web Apps • Desktop Apps • VS Code Extensions • Chrome Extensions • AI Chatbots • OAuth Flows • PDF Content • Spelling & Grammar • File System & Uploads • OS Accessibility • Visual Content • <iframe> • <canvas> • ``

Example

// Click on the new text document
await testdriver.find("New text document").mouseDown();

// Drag the "New Text Document" icon to the "Recycle Bin" 
await testdriver.find("Recycle Bin icon").mouseUp();

// Assert "New Text Document" icon is not on the Desktop
const result = await testdriver.assert(
  'the "New Text Document" icon is not visible on the Desktop'
);
expect(result).toBeTruthy();

See Full Example • Browse All Examples


🚀 Quick Start

Step 1: Create a TestDriver Account

No credit card required!

Step 2: Initialize Your Project

npx testdriverai init

This will:

  • Create a project folder
  • Install dependencies (Vitest + TestDriver)
  • Set up your API key
  • Configure MCP for your AI assistant (VS Code, Cursor, Claude Desktop, etc.)
  • Generate an example test

Step 3: Run Your First Test

vitest run

Watch as TestDriver:

  1. Spawns a cloud sandbox
  2. Launches Chrome
  3. Runs your test using AI vision
  4. Returns results with video replay

Similar plugs

Open-source AI job search agent and job finder: scan job boards, score each job 1-5 against your CV before you apply, tailor an ATS-friendly resume and cover letter, get…

Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, and Pi. 44 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.

Secure, fast, efficient, battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in…