From ffc0ea9cb55b2f20e8f8a50a6ed45e539db7b34d Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 6 Feb 2025 18:19:37 +0100 Subject: [PATCH] fix timeout --- packages/playwright-core/src/client/fetch.ts | 1 + 1 file changed, 1 insertion(+) 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' ?