Retracio

Playwright MCP alternative: Retracio

Playwright MCP is a Model Context Protocol server from Microsoft that gives an LLM client browser automation capabilities using Playwright (checked 2026-09-08). Playwright Test Agents, documented on the same site, add a planner that runs a seed test from your repository, a generator turns the Markdown plan into Playwright Tests under tests/, and a healer repairs failing tests (checked 2026-09-08). Retracio is a desktop app. You walk through a scenario by hand, mark what should be true on each screen, and it writes a plain Playwright spec into your local checkout in the style of the tests already there.

CriterionRetracioPlaywright MCPCopilot in the IDE
Follows the conventions of your repositoryYesYes
Where tests runLocal or cloudlocal (headed or headless browser on the user's machine; standalone HTTP server or Docker image available)
Who owns the test codePlain test files in your repositoryopen code in user's repo
Works offline
Maintenance modelEdit the test like any other fileself-healing
Output frameworksPlaywrightplaywright

Alternatives checked on 2026-09-08 against their own websites and documentation. Empty cell: not confirmed.

Playwright MCP fits when…

  • An LLM client your team already prompts should drive a Playwright browser through MCP tools (checked 2026-09-08).
  • Your repository has a seed test that carries the global setup, project dependencies, fixtures, and hooks, and you want the planner, generator, and healer to produce a suite under tests/ from it (checked 2026-09-08).
  • An open source component under the Apache License 2.0 that runs locally, as a standalone HTTP server, or in Docker matches how you adopt tooling (checked 2026-09-08).

Retracio fits when…

  • Testers who already walk through scenarios by hand, without writing prompts or a seed test, should leave behind a spec with assertions after every run.
  • The generated file has to import the page objects and fixtures that already exist and pass the repo's lint and formatter config before a reviewer opens it.
  • Security review requires that source code, cookies, and credentials stay on the machine and that the model is called through an API key the company controls.

Questions

Playwright MCP vs codegen: what is the difference?

Codegen is Playwright's recorder. It watches the page, picks locators while prioritizing role, text, and test id, and writes a script you maintain by hand (checked 2026-09-08). Playwright MCP exposes browser automation to an LLM client, and Playwright Test Agents add a planner, a generator, and a healer on top (checked 2026-09-08). Retracio also starts from a manual run in a browser, adds the assertions the tester marked on each screen, and writes the spec in the style of your existing tests.

Is Playwright MCP worth it for test automation?

That depends on who drives the browser. The MCP server gives an LLM client browser automation capabilities using Playwright, and Test Agents add a planner, generator, and healer that produce and repair a suite under tests/ (checked 2026-09-08). If your team already prompts a coding assistant and maintains a seed test, that setup fits. Retracio fits when the person who knows the scenario is a tester walking through it by hand: the run is the input.

How to generate end-to-end tests with AI and Playwright MCP?

With Playwright Test Agents, the planner runs a seed test from your repository and produces a Markdown plan; the generator turns that plan into executable Playwright Tests under tests/; the healer executes the suite and repairs failing tests (checked 2026-09-08). With Retracio, you start a session, walk through the scenario, and mark what should be true. The app scans the local checkout, sends the recorded steps and trimmed DOM snapshots to Claude through your API key, and shows the draft as a diff you can run locally.

Do AI generated tests follow coding standards?

Playwright Test Agents pick up conventions through the seed test: the planner runs it to execute the global setup, project dependencies, fixtures, and hooks your project defines (checked 2026-09-08). Retracio takes them from the repository itself. It scans the folder structure, the locator style, the fixtures, the page objects, and the lint and formatter config. The generated spec lands next to similar tests, imports existing page objects instead of duplicating selectors inline, and passes the same lint and prettier config.

Who owns AI generated test code?

In both cases the code is yours. Playwright Test Agents output a test suite under tests/ in your repository, and the server itself is open source under the Apache License 2.0 (checked 2026-09-08). Retracio writes a plain Playwright spec into the folder you choose, with no product import, plugin, or runtime. Committing stays with you, and the app never clones or uploads the repository. Uninstall it and every generated test keeps working in your CI.

Do AI generated tests break when the UI changes?

Playwright Test Agents answer with the healer, which executes the test suite and automatically repairs failing tests (checked 2026-09-08). Retracio starts with the locators. Every element the tester touched is resolved to a role, label, or test-id locator, and a repo-specific convention such as a data-testid prefix is honored. When a step still fails on the review screen, the app regenerates only that step and leaves the rest of the file untouched.

Does my source code leave my machine?

With Retracio, no. The browser, the recording, the repository scan, and the test execution happen inside the desktop app on your computer. What goes out is the recorded steps, trimmed DOM snapshots of the pages under test, and excerpts of the conventions profile, sent to Anthropic Claude through an API key you provide. Source code, generated tests, cookies, screenshots, and credentials stay local. Playwright MCP also runs its browser on your machine (checked 2026-09-08).
Join the waitlist