Skip to content

Commit

Permalink
fix: small async problem
Browse files Browse the repository at this point in the history
  • Loading branch information
albanm committed Jan 18, 2024
1 parent f1deea3 commit 9d56f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const publicPageFactory = {
async create() {
// create pages in incognito contexts so that cookies are not shared
// each context is used sequentially only because of cookies or other states conflicts
const page = _browser.defaultBrowserContext().newPage()
const page = await _browser.defaultBrowserContext().newPage()
debugPage(page)
return page
},
Expand Down

0 comments on commit 9d56f48

Please sign in to comment.