correction on loop on sliding captcha

This commit is contained in:
Lei PAN
2023-06-02 19:50:10 +02:00
parent 037cf4d486
commit 18519f76de
+2 -1
View File
@@ -731,6 +731,7 @@ class CommandorPage {
checkResult = await this.ocrChecker.get_result(); checkResult = await this.ocrChecker.get_result();
} else { } else {
// await this.checkResultWithOcr() // await this.checkResultWithOcr()
checkResult = OCRResult.TERMINAED
this.isTerminated = true this.isTerminated = true
} }
}) })
@@ -940,7 +941,7 @@ class CommandorPage {
await delay(2000); await delay(2000);
this.device.shell("input tap " + 772 + " " + 2146) this.device.shell("input tap " + 772 + " " + 2146)
} else if (model === "MI 5s") { } else if (model === "MI 5s") {
this.device.shell("input tap " + 790 + " " + 1807) this.device.shell("input tap " + 786 + " " + 1780)
await delay(2000); await delay(2000);
this.device.shell("input tap " + 790 + " " + 1807) this.device.shell("input tap " + 790 + " " + 1807)
await delay(1000); await delay(1000);