LogoClawIndex
CasesSkillsAbout
LogoClawIndex

playwright-selectors - Playwright User-Facing Selectors Guide

Refactor Playwright tests to use accessible, user-facing selectors following priority ladder

Tags

Updated: 2026-03-20

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • refactor tests
  • write tests
  • prioritize locators
  • chain filters
  • scope locators
  • document testId usage
  • add semantic markup

Inputs

  • Playwright test file
  • test code using getByTestId
  • selector ambiguity issues

Outputs

  • refactored test code
  • updated test locators
  • removed testId attributes

Requirements

  • Playwright framework
  • Given/When/Then test structure

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
testing
playwright
selectors
accessibility
refactoring
refactor tests
write tests
prioritize locators
chain filters
Playwright test file
test code using getByTestId
selector ambiguity issues
refactored test code
updated test locators
removed testId attributes