playwright-fixtures-and-hooks
Installation
SKILL.md
Playwright Fixtures and Hooks
Master Playwright's fixture system and lifecycle hooks to create reusable test infrastructure, manage test state, and build maintainable test suites. This skill covers built-in fixtures, custom fixtures, and best practices for test setup and teardown.
Built-in Fixtures
Core Fixtures
import { test, expect } from '@playwright/test';