need to convert phoneNumber to string
This commit is contained in:
@@ -330,7 +330,7 @@ class CommandorPage {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
await delay(1000);
|
await delay(1000);
|
||||||
await page.keyboard.type("+33 " + this.contact.phoneNumber);
|
await page.keyboard.type("0" + this.contact.phoneNumber);
|
||||||
this.isPhoneInput = true;
|
this.isPhoneInput = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -579,7 +579,7 @@ class CommandorPage {
|
|||||||
let pageContent = await page.content()
|
let pageContent = await page.content()
|
||||||
let hasCaptcha = pageContent.includes("g-recaptcha-response")
|
let hasCaptcha = pageContent.includes("g-recaptcha-response")
|
||||||
if (hasCaptcha) {
|
if (hasCaptcha) {
|
||||||
await this.clickCheckbox()
|
// await this.clickCheckbox()
|
||||||
await delay(1000)
|
await delay(1000)
|
||||||
this.captchaSolver = new SolveCaptcha(page);
|
this.captchaSolver = new SolveCaptcha(page);
|
||||||
await this.captchaSolver.start((solution) => {
|
await this.captchaSolver.start((solution) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user