Testing / Playwright Interview questions
What is the purpose of the Playwright Test Runner?
Playwright Test (@playwright/test) is a test runner built specifically around Playwright's automation capabilities, rather than a generic runner Playwright was bolted onto afterward.
It provides test isolation by giving every test a fresh browser context, parallel execution across multiple workers, automatic retries for flaky tests, and built-in fixtures like page and browser that are created and torn down for you.
It also ships with cross-browser "projects" in the config so the same test suite can run against Chromium, Firefox, and WebKit - or different viewport sizes - just by changing configuration, plus built-in reporters, tracing, and screenshot/video capture on failure.
More Related questions...