diff --git a/clear_data.sh b/clear_data.sh index 2691889..882d583 100644 --- a/clear_data.sh +++ b/clear_data.sh @@ -285,4 +285,9 @@ adb -s 192.168.0.37:5555 shell am start -n com.android.chrome/com.google.android #18 adb -s 192.168.0.27:5555 shell pm clear com.android.chrome adb -s 192.168.0.27:5555 shell am set-debug-app --persistent com.android.chrome -adb -s 192.168.0.27:5555 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main \ No newline at end of file +adb -s 192.168.0.27:5555 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main + +#18 +adb -s emulator-5560 shell pm clear com.android.chrome +adb -s emulator-5560 shell am set-debug-app --persistent com.android.chrome +adb -s emulator-5560 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main \ No newline at end of file diff --git a/src/workers/CommandorPage.js b/src/workers/CommandorPage.js index a47377e..f9ae6fd 100644 --- a/src/workers/CommandorPage.js +++ b/src/workers/CommandorPage.js @@ -36,7 +36,7 @@ const CAPTCHA_ERROR_MESSAGE = "Error verifying captcha, please try again" const CAPTCHA_ERROR_MESSAGE_FR = "La vérification du captcha a échoué" const REGEX_RDV_URL = "https:\/\/rendezvousparis\.hermes\.com\/client\/register\/[A-Z0-9]+" const DEFAULT_STORE = 'faubourg'; -const searchTexts = ['hermes+rdv', 'hermes+rendezvous', 'hermes+appointment', 'hermes+appointment+online', 'appointment+hermes', 'hermes+rendez+vous', 'online+appointment+hermes', 'hermes+online+appointment'] +const searchTexts = ['hermes+rdv', 'hermes+rendezvous', 'hermes+appointment', 'hermes+appointment+online', 'appointment+hermes', 'hermes+rendez+vous','hermes+rendez+vous+paris', 'online+appointment+hermes', 'hermes+online+appointment', 'paris+hermes+online+appointment'] function delay(delayInMs) { return new Promise(resolve => {