微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🧩

Playwright Frontend

Playwright Frontend · v
Testing Qa 作者 testdino-hq 来源 TypingMind

简介

For frontend engineers authoring UI — how to make components reliably locatable by tests and AI agents. Covers the official Playwright locator priority, semantic/accessible markup first, and how to add valid, unique, stable `data-testid` attributes (naming convention, uniqueness in lists, stability rules) for React, Vue, Angular, and Svelte. Use when writing or reviewing components, or when an agent needs durable locators.

标签

没有标签

同类 Skill