Merge branch 'master' of bitbucket.org:panleicim/puppeteerjs
This commit is contained in:
@@ -38,6 +38,7 @@ const SLIDING_CAPTCHA_FR = "Pourquoi cette vérification"
|
||||
const SLIDING_CAPTCHA_FR_2 = "Glissez vers la droite pour"
|
||||
const SLIDING_CAPTCHA_FR_3 = "la droite pour completer le puzzle"
|
||||
const SLIDING_CAPTCHA_FR_4 = " s'assure qu'on s'adresse bien"
|
||||
const SLIDING_CAPTCHA_FR_5 = "On s'assure que c'est"
|
||||
const MESSAGE_FILL_FIELD_FR = "Demande de rendez-vous pour"
|
||||
const MESSAGE_FILL_FIELD_FR_2 = "des champs de données doivent étre complétés"
|
||||
const MESSAGE_FILL_FIELD_FR_3 = "Sans préféré"
|
||||
@@ -133,7 +134,7 @@ class OCRChecker {
|
||||
await this.deleteFile(fileName)
|
||||
await this.deleteFile(screenShot)
|
||||
return OCRResult.RECHECK
|
||||
} else if (result.includes(SLIDING_CAPTCHA_FR) || result.includes(SLIDING_CAPTCHA_FR_2) || result.includes(SLIDING_CAPTCHA_FR_3) || result.includes(SLIDING_CAPTCHA_FR_4)) {
|
||||
} else if (result.includes(SLIDING_CAPTCHA_FR) || result.includes(SLIDING_CAPTCHA_FR_2) || result.includes(SLIDING_CAPTCHA_FR_3) || result.includes(SLIDING_CAPTCHA_FR_4) || result.includes(SLIDING_CAPTCHA_FR_5)) {
|
||||
await this.deleteFile(fileName)
|
||||
await this.deleteFile(screenShot)
|
||||
// if (result.includes("rac"))
|
||||
|
||||
Reference in New Issue
Block a user