Harden Locators

Use when a locator broke, is about to break, or is XPath — replacing positional and structural selectors with ones tied to what the user perceives. Covers XPath and brittle-CSS replacement patterns, disambiguating between multiple matches, handling text that varies across environments, and when a missing hook should be requested from the app team instead.

AndreiBanu1 59dd5cf 6.0 KB Updated

File contents

AndreiBanu1/playwright-suite-skills/tree/main/skills/harden-locators commit 59dd5cf21d

Frequently asked questions

npx skillmds@latest add andreibanu1/harden-locators