This commit is contained in:
Lei PAN
2023-06-02 13:28:15 +02:00
parent d28017731a
commit 5fdc3d3f89
+6
View File
@@ -731,6 +731,7 @@ class CommandorPage {
} }
while (checkResult === OCRResult.SLIDING_CAPTCHA) { while (checkResult === OCRResult.SLIDING_CAPTCHA) {
await this.slidingCaptcha(async (isSuccessful) => { await this.slidingCaptcha(async (isSuccessful) => {
logWithDevice("SLIDING_CAPTCHA result is " + isSuccessful, this.device)
if (isSuccessful) { if (isSuccessful) {
checkResult = await this.ocrChecker.get_result(); checkResult = await this.ocrChecker.get_result();
} else { } else {
@@ -934,6 +935,11 @@ class CommandorPage {
await delay(2000); await delay(2000);
this.device.shell("input tap " + 818 + " " + 2140) this.device.shell("input tap " + 818 + " " + 2140)
await delay(1000); await delay(1000);
} else if (model === "CPH2219") {
this.device.shell("input tap " + 772 + " " + 2146)
await delay(2000);
this.device.shell("input tap " + 772 + " " + 2146)
await delay(1000);
} else { } else {
this.device.shell("input tap " + 800 + " " + 2215) this.device.shell("input tap " + 800 + " " + 2215)
await delay(2000); await delay(2000);