oui
This commit is contained in:
parent
9b7b9f51e4
commit
e835d40d99
4
V4.py
4
V4.py
|
@ -413,7 +413,7 @@ def login() :
|
||||||
|
|
||||||
|
|
||||||
def BingPcSearch(override = randint(35,40)):
|
def BingPcSearch(override = randint(35,40)):
|
||||||
driver.get(f'https://www.bing.com/search?q={choice(Liste_de_mot)}')
|
driver.get(f'https://www.bing.com/search?q=test')#{choice(Liste_de_mot)}')
|
||||||
CustomSleep(uniform(1,2))
|
CustomSleep(uniform(1,2))
|
||||||
RGPD()
|
RGPD()
|
||||||
send_keys_wait( driver.find_element(By.ID, 'sb_form_q'),Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE)
|
send_keys_wait( driver.find_element(By.ID, 'sb_form_q'),Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE+Keys.BACKSPACE)
|
||||||
|
@ -460,7 +460,7 @@ def BingMobileSearch(override = randint(22,25)):
|
||||||
def Mlogin(echec):
|
def Mlogin(echec):
|
||||||
|
|
||||||
try :
|
try :
|
||||||
MobileDriver.get(f'https://www.bing.com/search?q={choice([Liste_de_mot])}')
|
MobileDriver.get(f'https://www.bing.com/search?q=test')#{choice([Liste_de_mot])}')
|
||||||
CustomSleep(uniform(3,5))
|
CustomSleep(uniform(3,5))
|
||||||
|
|
||||||
MobileDriver.find_element(By.ID, 'mHamburger').click()
|
MobileDriver.find_element(By.ID, 'mHamburger').click()
|
||||||
|
|
Loading…
Reference in New Issue