diff --git a/src/workers/CommandorPage.js b/src/workers/CommandorPage.js index 6b7473f..94171f7 100644 --- a/src/workers/CommandorPage.js +++ b/src/workers/CommandorPage.js @@ -168,7 +168,7 @@ class CommandorPage { await this.enableDisableAirPlanMode(); // await delay(10 * 1000); await openUrlWithAdb(RDV_URL, this.device) - await delay(10000) + await delay(15000) await this.checkResultWithOcr() // await this.clickOnlineAppointment(); // } else { diff --git a/src/workers/OCRChecker.js b/src/workers/OCRChecker.js index d9d6da6..67f2c79 100644 --- a/src/workers/OCRChecker.js +++ b/src/workers/OCRChecker.js @@ -117,7 +117,7 @@ class OCRChecker { await this.deleteFile(fileName) return OCRResult.BLOCKED } else if (result.includes(ERR_CACHE_MISS) || result.includes(ERR_CACHE_MISS_2) || result.includes(ERR_CACHE_MISS_3) - || result.includes(ERR_CACHE_MISS_4) || result.includes(ERR_EMPTY_RESPONSE) || result.includes(ERR_SSL_PROTOCOL)) { + || result.includes(ERR_CACHE_MISS_4) || result.includes(ERR_EMPTY_RESPONSE) ) { //|| result.includes(ERR_SSL_PROTOCOL) await this.deleteFile(fileName) return OCRResult.TO_REFRESH } else if (result.includes(CHECKING_MSG_FR) || result.includes(CHECKING_MSG_FR_2)) {