Loading...
Loading...
Skill for Playwright-driven web UI testing, exploration, test generation, execution, and debugging (TypeScript or Python). Triggers for tasks involving application testing, validation, test generation, or UI automation in web applications.
npx skill4agent add kittne/codex-skills-by-codex playwright-testingnpx playwright install --with-depsnpm ci# Node/TS
npm i -D @playwright/test
npx playwright install --with-deps
# Python
pip install pytest-playwright
playwright installexpectplaywright codegengetByRoleget_by_rolegetByTestIdget_by_test_idwaitForTimeouttime.sleepstorageState# TS
npx playwright test
npx playwright test --ui
npx playwright test --debug
npx playwright show-trace trace.zip
# Python (pytest-playwright)
pytest
PWDEBUG=1 pytest -k test_name--debug--tracepage.pause()references/playwright.mdexpect(...).toBeVisible()waitForTimeoutnpx playwright test --debug
npx playwright test --trace onrg -n "Selectors|getByRole" references/playwright.mdrg -n "Fixtures|test.extend" references/playwright.mdrg -n "Tracing|debug" references/playwright.mdrg -n "CI|sharding" references/playwright.mdrg -n "Checklist|checklist" references/playwright.mdrg -n "Example|examples" references/playwright.mdrg -n "Workflow|process" references/playwright.mdrg -n "Pitfall|anti-pattern" references/playwright.mdrg -n "Testing|validation" references/playwright.mdrg -n "Security|risk" references/playwright.mdrg -n "Configuration|config" references/playwright.mdrg -n "Deployment|operations" references/playwright.mdrg -n "Troubleshoot|debug" references/playwright.mdrg -n "Performance|latency" references/playwright.mdrg -n "Reliability|availability" references/playwright.mdrg -n "Monitoring|metrics" references/playwright.mdrg -n "Error|failure" references/playwright.mdrg -n "Decision|tradeoff" references/playwright.mdrg -n "Migration|upgrade" references/playwright.md