From b28119baec8c23e255204c7d95ce15f4c12b986c Mon Sep 17 00:00:00 2001 From: piair338 Date: Mon, 24 Oct 2022 19:35:31 +0000 Subject: [PATCH] kinda work, when we ignore mobile search --- V4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/V4.py b/V4.py index 4d15a17..3b14005 100755 --- a/V4.py +++ b/V4.py @@ -686,7 +686,7 @@ def Mlogin(echec): try: MobileDriver.get("https://www.bing.com/search?q=test+speed") MRGPD() - printf("début du login", Mobdriver=MobileDriver) + printf("début du login") MobileDriver.find_element(By.ID, "mHamburger").click() CustomSleep(uniform(1, 2)) MobileDriver.find_element(By.ID, "hb_s").click() @@ -752,6 +752,7 @@ def Alerte(): def BingMobileSearch(override=randint(22, 25)): + global MobileDriver MobileDriver = "unable to start" try: try: