Playwright · Function
defineConfig
Playwright's use configuration sets browser and context options for tests. It supports navigation, authentication state, emulation, network behavior, recording, and other test settings.
Last updated
Syntax
export default defineConfig({ use: { /* options */ } });In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
defineConfigtest.useprojectsbaseURLstorageStatescreenshotvideotrace