Skip to content

Commit

Permalink
add missing await to the async function
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Feb 13, 2024
1 parent 86536fe commit c7650a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/browserApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PuppeteerApi {
}

async createNewPage() {
this.page = this.browser.newPage()
this.page = await this.browser.newPage()
await this.handleStart()
}

Expand Down

0 comments on commit c7650a4

Please sign in to comment.