crash correction

This commit is contained in:
2022-12-08 16:47:52 +01:00
parent 32347a3865
commit 82b297fdd3
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ class CommandorPage {
if (audioBtn) {
log("audioBtn found")
audioBtn.click()
let captchaSolver = new GeoCaptchaSolver(this.page, this.device)
let captchaSolver = new GeoCaptchaSolver(this.page, this.device, this.isTerminated)
await captchaSolver.solve((isSuccessful) => {
if (!isSuccessful) {
this.isTerminated = true