From 32e40e6b4fc85784670076c2805073246666ba5d Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Mon, 3 Feb 2025 16:34:52 +0100 Subject: [PATCH] fix tests --- packages/playwright-core/src/client/fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright-core/src/client/fetch.ts b/packages/playwright-core/src/client/fetch.ts index 31e0b0e8cb..02ec1a7736 100644 --- a/packages/playwright-core/src/client/fetch.ts +++ b/packages/playwright-core/src/client/fetch.ts @@ -65,7 +65,7 @@ export class APIRequest implements api.APIRequest { } async newContext(options: NewContextOptions = {}): Promise { - return this._newContext(options, this._playwright._channel); + return await this._newContext(options, this._playwright._channel); } async _newContext(options: NewContextOptions = {}, channel: channels.PlaywrightChannel | channels.LocalUtilsChannel): Promise {