Skip to content

Commit

Permalink
Fix is closed page check
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Feb 13, 2024
1 parent ab6d316 commit b0c4f02
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 @@ -86,7 +86,7 @@ class PuppeteerApi {
}

async checkIfPageIsOpen() {
let isClosed = false
let isClosed = true
if (this.page) {
isClosed = await this.page.isClosed()
}
Expand Down

0 comments on commit b0c4f02

Please sign in to comment.