Merge remote-tracking branch 'origin/master'

This commit is contained in:
2022-12-10 10:25:19 +01:00
+16 -9
View File
@@ -83,16 +83,23 @@ class GeoCaptchaSolver {
// fieldInputs[i].value = number_list[i];
await delay(500 + getRandomWaitTime());
}
let content = await captcha_container.innerHTML()
console.log("inner container is " + content)
try {
if (number_list.length === 0) {
onResult(false)
} else {
onResult(true)
if (!this.page.isClosed()) {
try {
let content = await captcha_container.innerHTML()
console.log("inner container is " + content)
try {
if (number_list.length === 0) {
onResult(false)
} else {
onResult(true)
}
} catch (e) {
console.log(e)
}
} catch (e) {
console.log(e)
}
} catch (e) {
console.log(e)
}
}
)