Pw Locator Fixer

Scans a Playwright spec or Page Object for brittle locators and rewrites them to resilient ones. Use when an SDET says "fix these locators", "my selectors are flaky", "replace XPath with getByRole", "make these locators resilient", or pastes code full of nth-child/CSS-class/text selectors. Produces a before/ after rewrite map plus patched code — the engineer verifies each swap.

PramodDutta Updated

File contents

pramoddutta/aitesterblueprint4x/tree/main/chapter_02_Prompt_Eng/prompt_templates/playwright/pw-locator-fixer commit e0e9dda7f2

Frequently asked questions

npx skillmds@latest add pramoddutta/pw-locator-fixer