From c7650a41ed0aa1f16f4401d5e0877ee4d1c8fee0 Mon Sep 17 00:00:00 2001 From: Lluis Date: Tue, 13 Feb 2024 21:39:13 +0100 Subject: [PATCH] add missing await to the async function --- helpers/browserApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/browserApi.js b/helpers/browserApi.js index 0a42bd2..3cfaf7f 100644 --- a/helpers/browserApi.js +++ b/helpers/browserApi.js @@ -17,7 +17,7 @@ class PuppeteerApi { } async createNewPage() { - this.page = this.browser.newPage() + this.page = await this.browser.newPage() await this.handleStart() }