Advanced Playwright Techniques for Flawless Testing
summary
Playwright demonstrations use the VS Code codegen to record TypeScript tests, the trace viewer for DOM snapshots and debugging, and built‑in locators and auto‑retrying assertions to reduce flakiness. Examples show API mocking via route.fulfill, time control with page.clock (setFixedTime and fastForward), storageState + project dependencies for reusable logins, CLI helpers like --only-changed and --last-failed, sharding strategies, and optional cloud browsers that run 600 tests in ~2:17 using ~35 workers.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:45What is Playwright
- 3:09Playwright features
- 5:14Generating tests
- 9:26Debugging tests
- 12:55Advanced tips
- 17:45API mocking
- 23:46Date/time testing
- 28:44Project dependencies
- 33:23Run changed tests
- 39:20Scaling tests
- 46:01Community & Q&A
related talks
14mAdvanced Playwright Techniques for flawless testing
51mTesting Web Applications with Playwright
28mTesting Web Applications with Playwright
01h 31mAdvanced Playwright with AI
20mTesting Web Applications with Playwright
17mTesting with Playwright in an AI-Assisted Development World
30mTesting Web Applications with Playwright
41mTesting Web Applications with Playwright
