handle ERR_TIMED_OUT error
This commit is contained in:
@@ -392,6 +392,10 @@ class CommandorPage {
|
|||||||
logWithDevice("ERR_NETWORK_CHANGED, will reload page", this.device);
|
logWithDevice("ERR_NETWORK_CHANGED, will reload page", this.device);
|
||||||
await delay(2000)
|
await delay(2000)
|
||||||
await this.page.reload()
|
await this.page.reload()
|
||||||
|
} else if (content.includes("ERR_TIMED_OUT")) {
|
||||||
|
logWithDevice("ERR_TIMED_OUT, will reload page", this.device);
|
||||||
|
await delay(2000)
|
||||||
|
await this.page.reload()
|
||||||
} else {
|
} else {
|
||||||
if (currentPage.url() === RDV_URL) {
|
if (currentPage.url() === RDV_URL) {
|
||||||
await this.fillFields(this.page);
|
await this.fillFields(this.page);
|
||||||
|
|||||||
Reference in New Issue
Block a user