playwright Documentation
Playwright documentation. Use for end-to-end testing, browser automation, cross-browser testing, selectors, assertions, and test fixtures.
Quick Reference
| Task | Entry Point |
|---|---|
| Getting started (Node) | contents/intro-js.md |
| Locators | contents/locators.md |
| Assertions | contents/test-assertions-js.md |
| Fixtures | contents/test-fixtures-js.md |
| Configuration | contents/test-configuration-js.md |
| Network mocking | contents/mock.md |
| Page API reference | contents/api/class-page.md |
| Debugging | contents/debug.md |
When to use
Use this skill when the user asks about:
- Writing and running Playwright end-to-end tests (locators, actions, assertions, auto-waiting)
- Test configuration, fixtures, projects, parallelism, retries, reporters, and CI
- Browser automation APIs: pages, contexts, network interception, emulation, tracing, screenshots
How to find information
- First, read
TOC.mdfor complete file listing organized by directory - Identify relevant section based on user's question
- Read specific files for details
TOC.md contains all files organized by directory - always check it first.