support chrome
This commit is contained in:
@@ -49,6 +49,7 @@ const MESSAGE_FILL_FIELD_FR_4 = "Magasin préféré"
|
||||
const MESSAGE_FILL_FIELD_FR_5 = "email vous sera envoyé pour vous"
|
||||
const MESSAGE_FILL_FIELD_FR_6 = "Prénom* Téléphone*"
|
||||
const WELCOME_MESSAGE_FR = "Bienvenue dans Chrome"
|
||||
const WELCOME_MESSAGE_FR_2 = "Chrome Connectez-vous"
|
||||
const PAGE_OPTIMIZATION_CHROME_FR = "Vous pouvez changer d'avis a tout moment dans"
|
||||
const PAGE_OPTIMIZATION_CHROME_FR_6 = "Vous pouvez changer davis a tout moment"
|
||||
const PAGE_OPTIMIZATION_CHROME_FR_2 = "Vous pouvez modifier vos options a tout moment"
|
||||
@@ -149,7 +150,9 @@ class OCRChecker {
|
||||
// if (result.includes("rac"))
|
||||
// return OCRResult.SLIDING_CAPTCHA_REFRESH
|
||||
return OCRResult.SLIDING_CAPTCHA
|
||||
} else if (result.includes(WELCOME_MESSAGE_FR)) {
|
||||
} else if (result.includes(WELCOME_MESSAGE_FR)
|
||||
|| result.includes(WELCOME_MESSAGE_FR_2)
|
||||
) {
|
||||
await this.deleteFile(fileName)
|
||||
return OCRResult.NEED_TO_CLICK_LATE_BTN
|
||||
} else if (result.includes(GOOGLE_DISCONNECT_FR) || result.includes(GOOGLE_DISCONNECT_FR_1)) {
|
||||
|
||||
Reference in New Issue
Block a user