Individual skill
playwright-core
Battle-tested Playwright patterns for E2E, API, component, visual, accessibility, and security testing. Covers locators, assertions, fixtures, network mocking, auth flows, debugging, and framework recipes for React, Next.js, Vue, and Angular. TypeScript and JavaScript.
skills/playwright/core/SKILL.md
Source commit 3ae17b2c765ed8534ba9c6f848563db127fc4ca6
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Network or broad shell
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 4,700
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- ai-agent Repository topic
- ai-agent-tools Repository topic
- claude Repository topic
- claude-ai Repository topic
- claude-api Repository topic
- claude-code Repository topic
- claude-code-communication Repository topic
- claude-commands Repository topic
- claude-desktop Repository topic
- testing Derived category
- design Derived category
- security Derived category
- engineering Derived category
- testing-browser Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 7,796 bytesaccessibility.mddoc · 54,525 bytesangular.mddoc · 41,694 bytesapi-testing.mddoc · 52,615 bytesassertions-and-waiting.mddoc · 27,436 bytesauth-flows.mddoc · 33,349 bytesauthentication.mddoc · 49,862 bytesbrowser-apis.mddoc · 24,555 bytesbrowser-extensions.mddoc · 14,980 bytescanvas-and-webgl.mddoc · 20,306 bytesclock-and-time-mocking.mddoc · 19,948 bytescommon-pitfalls.mddoc · 45,467 bytescomponent-testing.mddoc · 47,533 bytesconfiguration.mddoc · 25,604 bytescrud-testing.mddoc · 31,801 bytesdebugging.mddoc · 27,166 bytesdrag-and-drop.mddoc · 29,416 byteselectron-testing.mddoc · 22,920 byteserror-and-edge-cases.mddoc · 40,092 byteserror-index.mddoc · 59,573 bytesfile-operations.mddoc · 26,731 bytesfile-upload-download.mddoc · 30,292 bytesfixtures-and-hooks.mddoc · 33,733 bytesflaky-tests.mddoc · 31,740 bytesforms-and-validation.mddoc · 40,087 bytesi18n-and-localization.mddoc · 24,976 bytesiframes-and-shadow-dom.mddoc · 21,002 byteslocator-strategy.mddoc · 20,612 byteslocators.mddoc · 28,960 bytesmobile-and-responsive.mddoc · 59,558 bytesmulti-context-and-popups.mddoc · 22,883 bytesmulti-user-and-collaboration.mddoc · 20,506 bytesnetwork-mocking.mddoc · 45,898 bytesnextjs.mddoc · 36,980 bytesperformance-testing.mddoc · 23,537 bytesreact.mddoc · 39,517 bytessearch-and-filter.mddoc · 44,196 bytessecurity-testing.mddoc · 25,787 bytesservice-workers-and-pwa.mddoc · 20,825 bytestest-architecture.mddoc · 25,090 bytestest-data-management.mddoc · 36,538 bytestest-organization.mddoc · 31,279 bytesthird-party-integrations.mddoc · 31,081 bytesvisual-regression.mddoc · 36,295 bytesvue.mddoc · 39,496 byteswebsockets-and-realtime.mddoc · 21,331 byteswhen-to-mock.mddoc · 28,648 bytes
Read excerpt
# Playwright Core Testing
> Opinionated, production-tested Playwright guidance — every pattern includes when (and when _not_) to use it.
**46 reference guides** covering the full Playwright testing surface: selectors, assertions, fixtures, network mocking, auth, visual regression, accessibility, API testing, debugging, and more — with TypeScript and JavaScript examples throughout.
## Golden Rules
1. **`getByRole()` over CSS/XPath** — resilient to markup changes, mirrors how users see the page
2. **Never `page.waitForTimeout()`** — use `expect(locator).toBeVisible()` or `page.waitForURL()`
3. **Web-first assertions** — `expect(locator)` auto-retries; `expect(await locator.textContent())` does not
4. **Isolate every test** — no shared state, no execution-order dependencies
5. **`baseURL` in config** — zero hardcoded URLs in tests
6. **Retries: `2` in CI, `0` locally** — surface flakiness where it matters