Skip to content
Test Automation Lab
  • Learn
  • Practice
  • Reference
  • Quality
Menu
  • Learn
  • Practice
  • Reference
  • Quality
EN
  • Português
  • English
Theme

Test Automation Lab

GitHub© 2026 LCDS IT

E2E Selector Playground

The single biggest lever on E2E reliability is how you locate elements. Build a locator, watch which elements it matches in the sample app, and learn why role- and label-based locators survive redesigns that break CSS selectors.

Pair this with the Designing Reliable E2E Tests guide and the Playwright entry in the Tool Explorer.

Sample app — matched elements are highlighted

Welcome back

you@example.com
Your password
Remember me
Sign in
Sign in with Google
Forgot password?
Build your locator
page.getByRole('button', { name: 'Sign in' })

Matched 2 elements

Matches: Sign in, Sign in with Google

recommendedMirrors how users and assistive tech find elements — resilient to markup changes.