no need to close when page is terminated

This commit is contained in:
2023-12-17 00:47:51 +01:00
parent 641fcbc619
commit 700cc20945
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -853,6 +853,7 @@ class CommandorPage {
this.page = currentPage; this.page = currentPage;
} else { } else {
try { try {
if (!this.isTerminated)
currentPage.close() currentPage.close()
} catch (e) { } catch (e) {
console.log(e) console.log(e)
+2 -2
View File
@@ -15,8 +15,8 @@ function delay(delayInMs) {
const NO_INTERNET_FR = "Aucun accés a Internet" const NO_INTERNET_FR = "Aucun accés a Internet"
const NO_INTERNET_FR_2 = "Aucun accès à Internet" const NO_INTERNET_FR_2 = "Aucun accès à Internet"
const BRAVE_VPN_SKIP = "Pare-feu + VPN Brave" const BRAVE_VPN_SKIP = "Pare-feu + VPN Brave"
const MESSAGE_URL_VALIDATION_FR = "envoyé un lien par e-mail." const MESSAGE_URL_VALIDATION_FR = "Vous recevrez un email de validation"
const MESSAGE_URL_VALIDATION_FR_2 = "un lien par e-mail" const MESSAGE_URL_VALIDATION_FR_2 = "Merci de votre intérêt pour notre Maison"
const SSL_CERT_ERROR = " Votre connexion n'est pas privée" const SSL_CERT_ERROR = " Votre connexion n'est pas privée"
const MESSAGE_URL_VALIDATION_EN = "Please click on the link we sent by email" const MESSAGE_URL_VALIDATION_EN = "Please click on the link we sent by email"
const CHOOSE_POSITION_GOOGLE_FR = " Choisir la position pour les résultats de recherche" const CHOOSE_POSITION_GOOGLE_FR = " Choisir la position pour les résultats de recherche"