add logs
This commit is contained in:
@@ -731,6 +731,7 @@ class CommandorPage {
|
||||
}
|
||||
while (checkResult === OCRResult.SLIDING_CAPTCHA) {
|
||||
await this.slidingCaptcha(async (isSuccessful) => {
|
||||
logWithDevice("SLIDING_CAPTCHA result is " + isSuccessful, this.device)
|
||||
if (isSuccessful) {
|
||||
checkResult = await this.ocrChecker.get_result();
|
||||
} else {
|
||||
@@ -934,6 +935,11 @@ class CommandorPage {
|
||||
await delay(2000);
|
||||
this.device.shell("input tap " + 818 + " " + 2140)
|
||||
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 {
|
||||
this.device.shell("input tap " + 800 + " " + 2215)
|
||||
await delay(2000);
|
||||
|
||||
Reference in New Issue
Block a user