From cfb26f67322d8adf779e8b9e3d013f1a3cbc8e37 Mon Sep 17 00:00:00 2001 From: piair Date: Fri, 27 May 2022 10:07:19 +0200 Subject: [PATCH] test --- V4.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/V4.py b/V4.py index fff1e2f..9e38f1a 100755 --- a/V4.py +++ b/V4.py @@ -629,25 +629,25 @@ def BingMobileSearch(override=randint(22, 25)): try: MobileDriver.get( - "https://www.bing.com/search?q=test+speed&qs=LS&pq=test+s&sk=PRES1&sc=8-6&cvid=19&FORM=QBRE&sp=1" + "https://login.live.com/login.srf?wa=wsignin1.0&wreply=https%3a%2f%2fwww.bing.com%2fsecure%2fPassport.aspx%3frequrl%3dhttps%253a%252f%252fwww.bing.com%252fsearch%253fq%253dtest%252bdebit&aadredir=1" ) CustomSleep(uniform(3, 5)) printf("debut du login", Mobdriver=MobileDriver) MRGPD() CustomSleep(uniform(3, 5)) - MobileDriver.find_element(By.ID, "mHamburger").click() - CustomSleep(uniform(1, 2)) - printf("login - 1", Mobdriver=MobileDriver) - MobileDriver.find_element(By.ID, "hb_s").click() - CustomSleep(uniform(1, 2)) - printf("login - 1.5", Mobdriver=MobileDriver) - try : - MobileDriver.find_element(By.ID, "hb_a").click() - CustomSleep(uniform(1, 2)) - printf("login - 2", Mobdriver=MobileDriver) - except Exception as e : - LogError(e) + #MobileDriver.find_element(By.ID, "mHamburger").click() + #CustomSleep(uniform(1, 2)) + #printf("login - 1", Mobdriver=MobileDriver) + #MobileDriver.find_element(By.ID, "hb_s").click() + #CustomSleep(uniform(1, 2)) + #printf("login - 1.5", Mobdriver=MobileDriver) + #try : + # MobileDriver.find_element(By.ID, "hb_a").click() + # CustomSleep(uniform(1, 2)) + # printf("login - 2", Mobdriver=MobileDriver) + #except Exception as e : + # LogError(e) mail = MobileDriver.find_element(By.ID, "i0116") send_keys_wait(mail, _mail) printf("login - 3", Mobdriver=MobileDriver)