{"id":"042afa8e-aa8f-4170-bdab-2465bdcb724f","slug":"currents-dev-playwright-best-practices-skill","name":"playwright-best-practices","description":"Provides comprehensive guidance for writing, debugging, and maintaining Playwright tests in TypeScript. Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions, multi-tab/popup flows, mobile/responsive layouts, touch gestures, GraphQL, error handling, offline mode, multi-user collaboration, third-party services (payments, email verification), console error monitoring, global setup/teardown, test annotations (skip, fixme, slow), project dependencies, security testing (XSS, CSRF, auth), performance budgets (Web Vitals, Lighthouse), iframes, component testing, canvas/WebGL, service workers/PWA, test coverage, i18n/localization, Electron apps, or browser extension testing. Covers E2E, component, API, visual, accessibility, security, Electron, and extension testing.","canonicalUrl":"https://xpersona.co/skill/currents-dev-playwright-best-practices-skill","sourceUrl":"https://github.com/currents-dev/playwright-best-practices-skill","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"currents-dev","label":"Currents Dev","url":"https://github.com/currents-dev/playwright-best-practices-skill"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-02-24T19:37:04.425Z","freshnessLabel":"Feb 24, 2026","securityReviewed":true,"openapiReady":true,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Feb 24, 2026"},{"label":"Vendor","value":"Currents Dev"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://xpersona.co/api/v1/agents/currents-dev-playwright-best-practices-skill/contract","sourceUrl":"https://xpersona.co/api/v1/agents/currents-dev-playwright-best-practices-skill/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-02-24T19:45:32.195Z","isPublic":true},{"factKey":"auth_modes","category":"compatibility","label":"Auth modes","value":"api_key, oauth","href":"https://xpersona.co/api/v1/agents/currents-dev-playwright-best-practices-skill/contract","sourceUrl":"https://xpersona.co/api/v1/agents/currents-dev-playwright-best-practices-skill/contract","sourceType":"contract","confidence":"high","observedAt":"2026-02-24T19:45:32.195Z","isPublic":true},{"factKey":"schema_refs","category":"artifact","label":"Machine-readable schemas","value":"OpenAPI or schema references published","href":"https://github.com/currents-dev/playwright-best-practices-skill#input","sourceUrl":"https://xpersona.co/api/v1/agents/currents-dev-playwright-best-practices-skill/contract","sourceType":"contract","confidence":"high","observedAt":"2026-02-24T19:45:32.195Z","isPublic":true},{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Currents Dev","href":"https://github.com/currents-dev/playwright-best-practices-skill","sourceUrl":"https://github.com/currents-dev/playwright-best-practices-skill","sourceType":"profile","confidence":"medium","observedAt":"2026-02-24T19:43:14.176Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"109 GitHub stars","href":"https://github.com/currents-dev/playwright-best-practices-skill","sourceUrl":"https://github.com/currents-dev/playwright-best-practices-skill","sourceType":"profile","confidence":"medium","observedAt":"2026-02-24T19:43:14.176Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://xpersona.co/api/v1/agents/currents-dev-playwright-best-practices-skill/trust","sourceUrl":"https://xpersona.co/api/v1/agents/currents-dev-playwright-best-practices-skill/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["109 GitHub stars","Schema refs published","Trust evidence available"],"agentCard":{"name":"playwright-best-practices","description":"Provides comprehensive guidance for writing, debugging, and maintaining Playwright tests in TypeScript. Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions, multi-tab/popup flows, mobile/responsive layouts, touch gestures, GraphQL, error handling, offline mode, multi-user collaboration, third-party services (payments, email verification), console error monitoring, global setup/teardown, test annotations (skip, fixme, slow), project dependencies, security testing (XSS, CSRF, auth), performance budgets (Web Vitals, Lighthouse), iframes, component testing, canvas/WebGL, service workers/PWA, test coverage, i18n/localization, Electron apps, or browser extension testing. Covers E2E, component, API, visual, accessibility, security, Electron, and extension testing.","source":"GITHUB_OPENCLEW","sourceId":"github:1143589800","repository":"https://github.com/currents-dev/playwright-best-practices-skill","documentation":"https://xpersona.co/skill/currents-dev-playwright-best-practices-skill/agent/currents-dev-playwright-best-practices-skill","protocols":["OPENCLEW"],"languages":["typescript"],"install":{"command":"git clone https://github.com/currents-dev/playwright-best-practices-skill.git","ecosystem":"git"},"examples":[{"kind":"example","language":"text","snippet":"What are you doing?\n│\n├─ Writing a new test?\n│  ├─ E2E test → test-organization.md, locators.md, assertions-waiting.md\n│  ├─ Component test → component-testing.md\n│  ├─ API test → test-organization.md, assertions-waiting.md\n│  ├─ Visual/canvas test → canvas-webgl.md, test-organization.md\n│  ├─ Accessibility test → accessibility.md\n│  ├─ Mobile/responsive test → mobile-testing.md\n│  ├─ i18n/locale test → i18n.md\n│  ├─ Electron app test → electron.md\n│  ├─ Browser extension test → browser-extensions.md\n│  └─ Multi-user test → multi-user.md\n│\n├─ Testing specific features?\n│  ├─ File upload/download → file-operations.md\n│  ├─ Date/time dependent → clock-mocking.md\n│  ├─ WebSocket/real-time → websockets.md\n│  ├─ Geolocation/permissions → browser-apis.md\n│  ├─ OAuth/SSO mocking → third-party.md, multi-context.md\n│  ├─ Payments/email/SMS → third-party.md\n│  ├─ iFrames → iframes.md\n│  ├─ Canvas/WebGL/charts → canvas-webgl.md\n│  ├─ Service workers/PWA → service-workers.md\n│  ├─ i18n/localization → i18n.md\n│  ├─ Security (XSS, CSRF) → security-testing.md\n│  └─ Performance/Web Vitals → performance-testing.md\n│\n├─ Test is failing/flaky?\n│  ├─ Flaky test investigation → flaky-tests.md\n│  ├─ Element not found → locators.md, debugging.md\n│  ├─ Timeout issues → assertions-waiting.md, debugging.md\n│  ├─ Race conditions → flaky-tests.md, debugging.md\n│  ├─ Flaky only with multiple workers → flaky-tests.md, performance.md\n│  ├─ State leak / isolation → flaky-tests.md, fixtures-hooks.md\n│  ├─ Console/JS errors → console-errors.md, debugging.md\n│  └─ General debugging → debugging.md\n│\n├─ Testing error scenarios?\n│  ├─ Network failures → error-testing.md, network-advanced.md\n│  ├─ Offline (unexpected) → error-testing.md\n│  ├─ Offline-first/PWA → service-workers.md\n│  ├─ Error boundaries → error-testing.md\n│  └─ Form validation → error-testing.md\n│\n├─ Refactoring existing code?\n│  ├─ Implementing POM → page-object-model.md\n│  ├─ Improving selectors → locators.md\n│  ├─ Extracting fixtures "}]}}