cache error when audo_number field not found
This commit is contained in:
@@ -293,6 +293,7 @@ class CommandorPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async onPageLoad(currentPage) {
|
async onPageLoad(currentPage) {
|
||||||
|
console.log("onPageLoad called, url is "+currentPage.url())
|
||||||
try {
|
try {
|
||||||
let content = await currentPage.content();
|
let content = await currentPage.content();
|
||||||
let captcha_url = "geo.captcha-delivery.com/captcha";
|
let captcha_url = "geo.captcha-delivery.com/captcha";
|
||||||
|
|||||||
@@ -77,10 +77,14 @@ class GeoCaptchaSolver {
|
|||||||
// fieldInputs[i].value = number_list[i];
|
// fieldInputs[i].value = number_list[i];
|
||||||
await delay(2000 + getRandomWaitTime());
|
await delay(2000 + getRandomWaitTime());
|
||||||
}
|
}
|
||||||
if (number_list.isEmpty()) {
|
try {
|
||||||
onResult(false)
|
if (number_list.isEmpty()) {
|
||||||
} else {
|
onResult(false)
|
||||||
onResult(true)
|
} else {
|
||||||
|
onResult(true)
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user