Back to All Questions
Question 12 of 100
Framework
Beginner
What is a Playwright Test Runner?
The Answer
`@playwright/test` is Playwright's purpose-built test runner. It provides parallel execution, fixtures, web-first assertions, tracing, retries, multiple reporters, and built-in TypeScript support β all in one package.
Deep Dive Explanation
Before `@playwright/test`, teams combined Playwright with Jest or Mocha. This worked but missed out on web-first assertions (auto-retrying), the fixture system, and integrated tracing. The native runner was purpose-built for browser automation concerns. It also includes `playwright/test` which provides the `test`, `expect`, and `defineConfig` exports that are the foundation of every test file.