From 18519f76de5a0f6fd7b7bbc6fa2f3c6ba41e29ee Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Fri, 2 Jun 2023 19:50:10 +0200 Subject: [PATCH] correction on loop on sliding captcha --- src/workers/CommandorPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/workers/CommandorPage.js b/src/workers/CommandorPage.js index 627c7b1..b156612 100644 --- a/src/workers/CommandorPage.js +++ b/src/workers/CommandorPage.js @@ -731,6 +731,7 @@ class CommandorPage { checkResult = await this.ocrChecker.get_result(); } else { // await this.checkResultWithOcr() + checkResult = OCRResult.TERMINAED this.isTerminated = true } }) @@ -940,7 +941,7 @@ class CommandorPage { await delay(2000); this.device.shell("input tap " + 772 + " " + 2146) } else if (model === "MI 5s") { - this.device.shell("input tap " + 790 + " " + 1807) + this.device.shell("input tap " + 786 + " " + 1780) await delay(2000); this.device.shell("input tap " + 790 + " " + 1807) await delay(1000);