Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Playwright Self-Healing AgentNew to Visual Studio Code? Get it now.
Playwright Self-Healing Agent

Playwright Self-Healing Agent

4amworld

|
2 installs
| (0) | Free
Suggests safe locator replacements for failing Playwright tests. Developer : Yogesh Sharma
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Playwright Self-Healing Agent

Level 1 of a free VS Code extension that helps repair Playwright locators. It ranks candidate locators using a deterministic token similarity score, then lets you apply the selected repair to the current editor selection.

Features

  • Run Playwright: Suggest Locator Repair from the Command Palette.
  • Enter the failed locator and candidate replacements, one per line or separated by semicolons.
  • Review ranked candidates and apply the selected replacement to an editor selection.

Requirements

  • VS Code 1.134 or newer.
  • A Playwright project is recommended, but Level 1 does not execute tests or require an AI provider.

Extension Settings

  • playwrightSelfHealingAgent.maxSuggestions: Maximum number of ranked candidates to show. The default is 5.

Known Issues

This first level does not inspect a live browser DOM, parse Playwright test reports, or automatically edit files without confirmation. Those are planned follow-up levels.

Release Notes

0.0.1

Initial Level 1 release.

Development

npm install
npm run compile
npm run lint
npm run package

Press F5 in VS Code to launch an Extension Development Host. Run the command from the Command Palette in that host.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft