playwright
Installation
SKILL.md
Playwright
Playwright is Microsoft's modern automation library. It enables reliable end-to-end testing for modern web apps across Chromium, WebKit, and Firefox.
When to Use
- Cross-Browser: Testing Chrome, Safari, and Firefox with one API.
- Speed: It is significantly faster than Cypress and Selenium due to parallel execution and fast context creation.
- Modern Features: Native support for Auto-waiting (no more
sleep(1000)), Network interception, and Mobile emulation.
Quick Start
import { test, expect } from "@playwright/test";