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
+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;