From e41d28c142e4c92a194322c7217636798996e831 Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 30 Mar 2023 08:03:49 +0200 Subject: [PATCH] =?UTF-8?q?normalement=20c'est=20insane.=20Il=20faut=20jus?= =?UTF-8?q?te=20g=C3=A9rer=20le=20probl=C3=A8me=20de=20login=20sur=20le=20?= =?UTF-8?q?mobile.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- V5.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/V5.py b/V5.py index b7b4297..c086157 100755 --- a/V5.py +++ b/V5.py @@ -479,6 +479,11 @@ def login(ldriver): log_error("Not connected 3", ldriver, True) try : driver.find_element(By.CSS_SELECTOR, "[h='ID=RewardsFlyout,2.1']").click() + custom_sleep(5) + if "bing.com" in ldriver.current_url : + driver.get("https://www.bing.com/rewardsapp/flyout") + log_error("connected 4", ldriver, True) + #return(True) log_error("not connected 5", ldriver, True) except Exception as e: log_error(f"not connected 5 - error {e}", ldriver)