handle ERR_TIMED_OUT error

This commit is contained in:
2023-04-22 10:51:32 +02:00
parent d46d424c28
commit 286daf569f
+4
View File
@@ -392,6 +392,10 @@ class CommandorPage {
logWithDevice("ERR_NETWORK_CHANGED, will reload page", this.device);
await delay(2000)
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 {
if (currentPage.url() === RDV_URL) {
await this.fillFields(this.page);