cache error when audo_number field not found

This commit is contained in:
2022-10-07 17:02:35 +02:00
parent d5648b748a
commit 3b136ee3c6
2 changed files with 9 additions and 4 deletions
+1
View File
@@ -293,6 +293,7 @@ class CommandorPage {
}
async onPageLoad(currentPage) {
console.log("onPageLoad called, url is "+currentPage.url())
try {
let content = await currentPage.content();
let captcha_url = "geo.captcha-delivery.com/captcha";
+8 -4
View File
@@ -77,10 +77,14 @@ class GeoCaptchaSolver {
// fieldInputs[i].value = number_list[i];
await delay(2000 + getRandomWaitTime());
}
if (number_list.isEmpty()) {
onResult(false)
} else {
onResult(true)
try {
if (number_list.isEmpty()) {
onResult(false)
} else {
onResult(true)
}
} catch (e) {
console.log(e)
}
}
)