From c5beafe036990980ef4e94b2a6fa4203d337fbfc Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 29 Mar 2023 14:08:44 +0200 Subject: [PATCH] test --- V5.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/V5.py b/V5.py index 6ba69f9..e2bf661 100755 --- a/V5.py +++ b/V5.py @@ -468,8 +468,12 @@ def login(ldriver): ldriver.refresh() rgpd_popup(ldriver) ldriver.get("https://www.bing.com/rewardsapp/flyout") - return(True) - print("cookies plus valides") + if ("Rejoindre maintenant" in ldriver.page_source): + log_error("Not Connected 1", ldriver, True) + ldriver.refresh() + log_error("Not Connected 2", ldriver, True) + return(True) + print("cookies plus valides ?") return(False) try :