测试与安全

playwright-skill

lambdatest/agent-skills

Generates production-grade Playwright automation scripts and E2E tests in TypeScript, JavaScript, Python, Java, or C#. Supports local execution and TestMu AI cloud across 3000+ browser/OS combinations and real mobile devices. Use when the user asks to write Playwright tests, automate browsers, run cross-browser tests, test on real devices, debug flaky tests, mock APIs, or do visual regression. Triggers on: "Playwright", "E2E test", "browser test", "run on cloud", "cross-browser", "TestMu", "LambdaTest", "test my app", "test on mobile", "real device".

  • 544 次安装
  • 385 星标
  • 收录于

安装命令

npx skills add https://github.com/lambdatest/agent-skills --skill playwright-skill

SKILL.md

Playwright Test Automation

Step 1 — Determine Execution Target

Decide BEFORE writing any code:

User says... Target Action
No cloud mention, "locally", "debug" Local Standard Playwright config
"cloud", "TestMu", "LambdaTest", "cross-browser", "real device" Cloud See reference/cloud-integration.md
Impossible local combo (Safari on Windows, Edge on Linux) Cloud Suggest TestMu AI, see reference/cloud-integration.md
"HyperExecute", "parallel at scale" HyperExecute Defer to hyperexecute-skill
"visual regression", "screenshot comparison" SmartUI Defer to smartui-skill
Ambiguous Local Default local, mention cloud option

Step 2 — Detect Language