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 {