optimization

This commit is contained in:
Lei PAN
2023-07-26 14:26:58 +02:00
parent e3c5b7a06e
commit 612b2b22f9
2 changed files with 10 additions and 2 deletions
+3 -2
View File
@@ -11,8 +11,9 @@ const NINETY_DAYS_IN_S = 3600 * 24 * 30 * 3;
let excelUtil = new ExcelUtil();
let collectionName = formatDate(new Date())
// device_to_excludes = ["47e7e36b", "e30eb015"]
// device_to_excludes = ["J4AXB761H2322WJ"]
device_to_excludes = ["4e8ca027", "hi7ljr5xduyt9pfi", "47e7e36b", "e30eb015"]
// device_to_excludes = ["4e8ca027", "hi7ljr5xduyt9pfi", "47e7e36b", "e30eb015"]
device_to_excludes = ["4e8ca027", "hi7ljr5xduyt9pfi", "e30eb015"]
// device_to_excludes = ["4e8ca027", "hi7ljr5xduyt9pfi", "e30eb015", "47e7e36b"]
attributedPorts = []
const device_port_info = new Map();
startPort = 9000
+7
View File
@@ -329,6 +329,13 @@ class CommandorPage {
field.value = ""
}
})
await delay(200);
await page.evaluate(() => {
let field = document.getElementById("phone_number");
if (field) {
field.value = ""
}
})
await delay(1000);
await page.keyboard.type("0" + this.contact.phoneNumber);
this.isPhoneInput = true;