playwright-best-practices
✓為彈性定位器、頁面對像模型、固定裝置、網絡優先斷言和網絡模擬提供 Playwright 測試模式。編寫或修改 Playwright 測試時必須使用(帶有 @playwright/test 導入的 .spec.ts、.test.ts 文件)。
SKILL.md
When running Playwright tests from Claude Code or any CLI agent, always use minimal reporters to prevent verbose output from consuming the context window.
Configure playwright.config.ts to use minimal reporters by default when CI or CLAUDE env vars are set:
Locators throw if multiple elements match. Use first(), last(), nth() only when intentional:
為彈性定位器、頁面對像模型、固定裝置、網絡優先斷言和網絡模擬提供 Playwright 測試模式。編寫或修改 Playwright 測試時必須使用(帶有 @playwright/test 導入的 .spec.ts、.test.ts 文件)。 來源:0xbigboss/claude-code。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/0xbigboss/claude-code --skill playwright-best-practices- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 playwright-best-practices?
為彈性定位器、頁面對像模型、固定裝置、網絡優先斷言和網絡模擬提供 Playwright 測試模式。編寫或修改 Playwright 測試時必須使用(帶有 @playwright/test 導入的 .spec.ts、.test.ts 文件)。 來源:0xbigboss/claude-code。
如何安裝 playwright-best-practices?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/0xbigboss/claude-code --skill playwright-best-practices 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/0xbigboss/claude-code
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01