need to convert phoneNumber to string

This commit is contained in:
Lei PAN
2023-07-19 11:06:07 +02:00
parent 8e5da16505
commit 0f0021e8c0
+2 -2
View File
@@ -330,7 +330,7 @@ class CommandorPage {
}
})
await delay(1000);
await page.keyboard.type("+33 " + this.contact.phoneNumber);
await page.keyboard.type("0" + this.contact.phoneNumber);
this.isPhoneInput = true;
}
}
@@ -579,7 +579,7 @@ class CommandorPage {
let pageContent = await page.content()
let hasCaptcha = pageContent.includes("g-recaptcha-response")
if (hasCaptcha) {
await this.clickCheckbox()
// await this.clickCheckbox()
await delay(1000)
this.captchaSolver = new SolveCaptcha(page);
await this.captchaSolver.start((solution) => {