diff --git a/packages/playwright-core/src/client/fetch.ts b/packages/playwright-core/src/client/fetch.ts index f32a79091e..f504101819 100644 --- a/packages/playwright-core/src/client/fetch.ts +++ b/packages/playwright-core/src/client/fetch.ts @@ -64,6 +64,7 @@ export class APIRequest implements api.APIRequest { async newContext(options: NewContextOptions = {}): Promise { options = { ...this._playwright._defaultContextOptions, + timeout: this._playwright._defaultContextTimeout, ...options, }; const storageState = typeof options.storageState === 'string' ?