Skip to main content
Install the TestDriver connector, and Claude Code can write, run, and debug end-to-end tests in a live sandbox. The connector is the fastest way to get started: one click, a browser sign-in, and no API key to copy. Connectors you install on claude.ai are available automatically in Claude Code, Claude Desktop, and claude.ai chat.

Before you begin

1

Install the connector

Open the TestDriver listing in the Claude directory:claude.ai/directory/testdriverClick Connect, and sign in to TestDriver when the browser opens.
2

Check the connection

Start a Claude Code session and run /mcp. The testdriver server should be listed as connected.If it isn’t, make sure Claude Code is signed in to the same account where you installed the connector, then restart the session.
3

Write your first test

Ask Claude Code to drive a browser:
Claude starts a sandbox, performs each step, and gets a screenshot after every action. Each tool call also returns the SDK code for that step, which Claude assembles into a runnable Vitest test.If Claude replies with an upgrade link instead, your team’s plan doesn’t include sandbox sessions. Follow the link, then ask again.To save and run those tests locally and in CI, set up a project.
Using another MCP client, or want to add the hosted server by URL instead? See MCP Setup.

Next steps

Generate tests with AI

Prompt the agent and steer it while it works.

Make assertions

Check what’s on screen in plain language.

Run tests

Run your tests locally and choose a device.

Run in CI/CD

Run your tests on every pull request.