Locator Lab

Practice locators on a live page

Write CSS selectors, XPath, or Playwright built-in locators and watch them highlight in real time on the practice page — then solve the challenges. Everything runs in your browser.

Cheat sheet — click any example to try it
Challenges0 / 0
🔥 Hard mode — fragile vs robust0 / 0

Each fragile locator below works right now. Write one that still matches after the page changes, then hit Test resilience.

▸ practice page