Skip to content
masterclass Buddy

Playwright · Function

test.only

A Playwright project is a named group of tests that uses one configuration. Projects let you run the same tests across browsers, devices, environments, or other settings.

Last updated

Syntax

export default defineConfig({ projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }] });

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • testConfig.projects
  • devices
  • testProject.teardown
  • --no-deps
  • Dependencies
  • Running Sequence

Source: Projects | Playwright. Checked 2026-11-03.