Skip to main content
TestDriver is an AI-native testing platform that lets you write tests in natural language. It uses computer vision and AI to understand your application like a human would, eliminating brittle selectors and making tests easy to write and maintain.

The Problem with Traditional Testing

Traditional E2E testing tools require:

Brittle Selectors

// ❌ Breaks when DOM changes
await page.click('#root > div > form > div:nth-child(2) > button')

Complex Setup

// ❌ Manual lifecycle management
await browser.launch()
await page.goto(url)
try {
  // Test code
} finally {
  await browser.close()
}

Flaky Tests

// ❌ Arbitrary waits
await page.click('button')
await page.waitForTimeout(1000)
await page.click('.dropdown-item')

Limited Scope

Most tools only work for web browsers. Testing desktop apps, extensions, or IDEs requires completely different frameworks.

The TestDriver Solution

TestDriver solves these problems with AI-powered testing:
import { test } from 'vitest';
import { chrome } from 'testdriverai/presets';

test('user can login', async (context) => {
  const { testdriver } = await chrome(context, {
    url: 'https://myapp.com/login'
  });

  await testdriver.find('email input').type('[email protected]');
  await testdriver.find('password input').type('secret', { secret: true });
  await testdriver.find('Login button').click();

  await testdriver.assert('Dashboard is visible');
});

How It Works

TestDriver uses Claude AI’s computer vision to understand your application:
1

Natural Language

Describe what you want to interact with in plain English:
await testdriver.find('submit button in the login form')
2

AI Vision Analysis

TestDriver captures a screenshot and asks Claude AI to locate the element using computer vision - just like a human would.
3

Smart Caching

Element locations are cached for 1.7x faster subsequent runs. The cache automatically invalidates when your UI changes.
4

Automatic Stability

TestDriver waits for animations, network requests, and DOM changes to complete before acting - no manual waits needed.

Key Features

What Can You Test?

TestDriver is the only platform that lets you test everything with one SDK:
  • Web Applications
  • Desktop Apps
  • Chrome Extensions
  • VS Code Extensions
  • Electron Apps
import { chrome } from 'testdriverai/presets';

test('web app', async (context) => {
  const { testdriver } = await chrome(context, {
    url: 'https://myapp.com'
  });
  // Test any website
});

How TestDriver Compares

TestDriver Advantages:
  • 🎯 Natural language selectors (no CSS/XPath)
  • πŸ€– AI-powered assertions
  • πŸ›‘οΈ Built-in anti-flake technology
  • πŸ’» Desktop app support
  • ☁️ Hosted infrastructure included
  • πŸ“Ή Automatic video recording
When to use Playwright/Selenium:
  • You need low-level browser control
  • You’re testing extremely complex DOM structures
  • You require specific browser APIs
TestDriver Advantages:
  • πŸ–₯️ Cross-platform (Windows, macOS, Linux)
  • πŸ“± Desktop application support
  • πŸ€– AI-powered element location
  • ☁️ Hosted sandboxes included
  • ⚑ No flake from timing issues
  • 🌐 Multi-application testing
When to use Cypress:
  • You only test web applications
  • You need real-time debugging in browser
  • You want to run tests in-browser only
TestDriver Advantages:
  • ⚑ 100x faster execution
  • 🎯 Perfect consistency
  • πŸ”„ Run thousands of tests in parallel
  • 🚫 Zero human error
  • πŸŒ™ 24/7 execution capability
  • πŸ› Instant regression detection
When to use Manual QA:
  • Exploratory testing
  • UX/design feedback
  • Edge cases not worth automating

Architecture

TestDriver consists of three main components:
  1. TestDriver SDK - The JavaScript/TypeScript library you use in your tests
  2. TestDriver API - Cloud service that orchestrates sandboxes and AI
  3. Sandbox VMs - Isolated virtual machines where your application runs
Learn more about architecture

Pricing Model

TestDriver uses usage-based pricing:

Pay-per-use

What you pay for:
  • AI vision analysis calls
  • Sandbox VM time (per minute)
  • Dashcam video storage
What’s included:
  • Intelligent caching (reduces costs by 90%+)
  • Shared team cache
  • Unlimited team members
  • Unlimited test executions
Typical costs:
  • Single test: 0.04βˆ’0.04 - 0.12
  • 100-test suite: 4βˆ’4 - 12 (first run)
  • Cached suite: 0.50βˆ’0.50 - 2 (subsequent runs)
Enterprise plans available with unlimited usage, on-premise deployment, and custom SLA. View pricing details

Getting Started

Ready to write your first test?

Community & Support