can close the last page
This commit is contained in:
@@ -32,6 +32,7 @@ const PAGE_OPTIMIZATION_CHROME_FR_2 = "Vous pouvez modifier vos options a tout m
|
||||
const PAGE_OPTIMIZATION_CHROME_FR_3 = "Vous pouvez effectuer des modifications"
|
||||
const ONLINE_APPOINTMENT = "Online Appointment"
|
||||
const CONFIRM_RESEND_FORM_FR = "Confirmer le nouvel envoi"
|
||||
const CLOSED_MESSAGE_FR = "Depuis plus de 130 ans"
|
||||
|
||||
class OCRChecker {
|
||||
|
||||
@@ -72,6 +73,8 @@ class OCRChecker {
|
||||
return OCRResult.PAGE_OPTIMIZATION
|
||||
} else if (result.includes(CONFIRM_RESEND_FORM_FR)) {
|
||||
return OCRResult.CONFIRM_RESEND_FORM
|
||||
} else if (result.includes(CLOSED_MESSAGE_FR)) {
|
||||
return OCRResult.CLOSED
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user