# Recover Playwright selectors after UI refactors with QA Skills

> Compare old and new UI evidence, repair confirmed locator drift in existing Playwright tests, and return a validated diff with per-change evidence.

- Skill: `agentskillexchange/recover-playwright-selectors-after-ui-refactors-with-qa-skil` (Agent Skill)
- Install (CLI): `npx get-skill add agentskillexchange/recover-playwright-selectors-after-ui-refactors-with-qa-skil`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/recover-playwright-selectors-after-ui-refactors-with-qa-skil/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-11-12
- Page: https://skillmd.com/skills/agentskillexchange/recover-playwright-selectors-after-ui-refactors-with-qa-skil

---


# Recover Playwright selectors after UI refactors with QA Skills

Compare old and new UI evidence, repair confirmed locator drift in existing Playwright tests, and return a validated diff with per-change evidence.

## Prerequisites

Agent Skills-compatible host; existing Playwright >=1.50 suite and browser dependencies; project Node/TypeScript tooling; old and new UI evidence; optional tsx and GitHub CLI for authorized PR work

## Installation

Install or set up from the source-backed instructions:

Clone https://github.com/petrkindlmann/qa-skills.git into a new checkout and check out reviewed revision 62434253c2592f27b494609c27f224939c86346d. Copy the entire skills/selector-drift-recovery directory, including references, into the agent host’s configured skills directory (upstream documents project .skills/). Preserve any existing skill directory rather than overwriting it. Reload skills as the host requires and invoke selector-drift-recovery explicitly. Use the existing project Playwright toolchain and review the prerequisite gates before running recovery; individual skill installation does not install the repository QA runner.

- Source: https://github.com/petrkindlmann/qa-skills/tree/62434253c2592f27b494609c27f224939c86346d/skills/selector-drift-recovery

## Documentation

- https://github.com/petrkindlmann/qa-skills/tree/62434253c2592f27b494609c27f224939c86346d/skills/selector-drift-recovery/SKILL.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/recover-playwright-selectors-after-ui-refactors-with-qa-skills/)

