Before you begin
- Claude Code, signed in with the same account you use on claude.ai.
- A TestDriver account. Sign up at console.testdriver.ai.
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.
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.

