From f334dd995275faba619544bea4f1619007697c1b Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Wed, 29 May 2024 17:56:05 +0200 Subject: [PATCH] support DE2117 for brave version 1_65_133 --- src/workers/CommandorPage.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/workers/CommandorPage.js b/src/workers/CommandorPage.js index a8dc4b9..3836e38 100644 --- a/src/workers/CommandorPage.js +++ b/src/workers/CommandorPage.js @@ -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) } }