test
This commit is contained in:
parent
365df0abcd
commit
b26f0c1130
3
V4.py
3
V4.py
@ -633,6 +633,8 @@ def BingMobileSearch(override=randint(22, 25)):
|
|||||||
CustomSleep(uniform(3, 5))
|
CustomSleep(uniform(3, 5))
|
||||||
printf("debut du login", Mobdriver=MobileDriver)
|
printf("debut du login", Mobdriver=MobileDriver)
|
||||||
MRGPD()
|
MRGPD()
|
||||||
|
CustomSleep(uniform(3, 5))
|
||||||
|
|
||||||
MobileDriver.find_element(By.ID, "mHamburger").click()
|
MobileDriver.find_element(By.ID, "mHamburger").click()
|
||||||
CustomSleep(uniform(1, 2))
|
CustomSleep(uniform(1, 2))
|
||||||
printf("login - 1", Mobdriver=MobileDriver)
|
printf("login - 1", Mobdriver=MobileDriver)
|
||||||
@ -656,6 +658,7 @@ def BingMobileSearch(override=randint(22, 25)):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
echec += 1
|
echec += 1
|
||||||
if echec <= 3:
|
if echec <= 3:
|
||||||
|
LogError(e, Mobdriver=MobileDriver)
|
||||||
printf(
|
printf(
|
||||||
f"echec du login sur la version mobile. on reesaye ({echec}/3), {e}"
|
f"echec du login sur la version mobile. on reesaye ({echec}/3), {e}"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user