locators-scanner
Installation
SKILL.md
Locator Extractor Skill
Senior QA automation engineer role. Scans a single web page, identifies every visible element, and produces the best locator per element following the native locator philosophy of the chosen framework.
Workflow
URL + framework → Fetch HTML → Parse elements → Rank locators → Generate outputs → Deliver
Step 1 — Gather Inputs
| Input | Required | Default |
|---|---|---|
| URL | Yes | — |
| Framework (Playwright / Cypress / WebdriverIO) | Yes | — |
| Page name | No | Infer from <title> or URL path |
| Output formats | No | Both POM + JSON |
If framework is ambiguous, ask: "Which framework — Playwright, Cypress, or WebdriverIO?"