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.
SubscribeRelated
testConfig.projectsdevicestestProject.teardown--no-depsDependenciesRunning Sequence