This commit is contained in:
2022-09-09 13:58:06 +02:00
parent e19ba716ad
commit 2754be7761
+2 -4
View File
@@ -79,8 +79,6 @@ class CommandorPage {
console.log(e) console.log(e)
this.isTerminated = true this.isTerminated = true
} }
//wait 10 mins
// Close the device.
let cancel let cancel
const intervalTask = setInterval(() => { const intervalTask = setInterval(() => {
@@ -200,8 +198,8 @@ class CommandorPage {
page.evaluate((solution) => { page.evaluate((solution) => {
document.getElementById("g-recaptcha-response").innerHTML = solution; document.getElementById("g-recaptcha-response").innerHTML = solution;
}, solution) }, solution)
this.clickValid();} this.clickValid();
else{ } else {
this.isTerminated = true; this.isTerminated = true;
} }
}) })