add logs
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user