kinda work, when we ignore mobile search
This commit is contained in:
parent
3155b545dc
commit
b28119baec
3
V4.py
3
V4.py
|
@ -686,7 +686,7 @@ def Mlogin(echec):
|
||||||
try:
|
try:
|
||||||
MobileDriver.get("https://www.bing.com/search?q=test+speed")
|
MobileDriver.get("https://www.bing.com/search?q=test+speed")
|
||||||
MRGPD()
|
MRGPD()
|
||||||
printf("début du login", Mobdriver=MobileDriver)
|
printf("début du login")
|
||||||
MobileDriver.find_element(By.ID, "mHamburger").click()
|
MobileDriver.find_element(By.ID, "mHamburger").click()
|
||||||
CustomSleep(uniform(1, 2))
|
CustomSleep(uniform(1, 2))
|
||||||
MobileDriver.find_element(By.ID, "hb_s").click()
|
MobileDriver.find_element(By.ID, "hb_s").click()
|
||||||
|
@ -752,6 +752,7 @@ def Alerte():
|
||||||
|
|
||||||
|
|
||||||
def BingMobileSearch(override=randint(22, 25)):
|
def BingMobileSearch(override=randint(22, 25)):
|
||||||
|
global MobileDriver
|
||||||
MobileDriver = "unable to start"
|
MobileDriver = "unable to start"
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue