support DE2117 for brave version 1_65_133
This commit is contained in:
@@ -933,7 +933,7 @@ class CommandorPage {
|
||||
}
|
||||
})
|
||||
logWithDevice("this.page.bringToFront();", this.device)
|
||||
await this.sendCookiesToQueue();
|
||||
// await this.sendCookiesToQueue();
|
||||
await this.page.bringToFront();
|
||||
await this.fillFields(this.page)
|
||||
await delay(2 * 1000);
|
||||
@@ -1537,7 +1537,11 @@ class CommandorPage {
|
||||
}
|
||||
|
||||
async handleBravePushNotification() {
|
||||
await this.tapForDevice(this.device, 100, 400)
|
||||
let model = this.device.model()
|
||||
if (model === "KB2003" || model ==="DE2117") {
|
||||
await this.tapForDevice(this.device, 545, 1448)
|
||||
} else
|
||||
await this.tapForDevice(this.device, 100, 400)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user