<objective How an expert agent writes stable, maintainable, production-grade Playwright tests in TypeScript. The failure this prevents: AI agents reflexively reach for the three patterns that produce suites which pass once and flake forever — never use , never default to CSS selectors, and avoid the legacy family. This skill encodes the auto-waiting, user-facing-locator, fixture-based discipline that makes a suite survive a refactor. </objective Discovery Questions Check first — if it exists, use it and skip any question answered there. Then ask only what's missing: 1. TypeScript or JavaScrip…