cache error when audo_number field not found
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user