still testing, but on a good way
This commit is contained in:
parent
e41d28c142
commit
f10cd8d226
3
V5.py
3
V5.py
|
@ -481,6 +481,8 @@ def login(ldriver):
|
||||||
driver.find_element(By.CSS_SELECTOR, "[h='ID=RewardsFlyout,2.1']").click()
|
driver.find_element(By.CSS_SELECTOR, "[h='ID=RewardsFlyout,2.1']").click()
|
||||||
custom_sleep(5)
|
custom_sleep(5)
|
||||||
if "bing.com" in ldriver.current_url :
|
if "bing.com" in ldriver.current_url :
|
||||||
|
log_error("connected 3.5", ldriver, True)
|
||||||
|
rgpd_popup(ldriver)
|
||||||
driver.get("https://www.bing.com/rewardsapp/flyout")
|
driver.get("https://www.bing.com/rewardsapp/flyout")
|
||||||
log_error("connected 4", ldriver, True)
|
log_error("connected 4", ldriver, True)
|
||||||
#return(True)
|
#return(True)
|
||||||
|
@ -494,7 +496,6 @@ def login(ldriver):
|
||||||
log_error(f"erreur not connected 6{e}", ldriver)
|
log_error(f"erreur not connected 6{e}", ldriver)
|
||||||
log_error("not connected 6", ldriver, True)
|
log_error("not connected 6", ldriver, True)
|
||||||
|
|
||||||
|
|
||||||
return(True)
|
return(True)
|
||||||
print("cookies plus valides ?")
|
print("cookies plus valides ?")
|
||||||
return(False)
|
return(False)
|
||||||
|
|
Loading…
Reference in New Issue