je comprend plus rien

This commit is contained in:
piair 2023-09-24 22:23:52 +02:00
parent e03ef1759c
commit 1a44c60202
2 changed files with 3 additions and 8 deletions

9
V6.py
View File

@ -471,14 +471,10 @@ def login_part_2(ldriver, cookies = False):
break
try:
ldriver.find_element(By.ID, id).click()
restart = True
except Exception as e:
pass
wait_until_visible(By.CSS_SELECTOR, '[data-bi-id="sh-sharedshell-home"]', 20, ldriver)
ldriver.get("https://www.bing.com/")
rgpd_popup(ldriver)
ldriver.refresh()
rgpd_popup(ldriver)
# login() tries to login to your Microsoft account.
@ -573,7 +569,6 @@ def log_points(account="unknown"):
for id in ["KmsiCheckboxField","iLooksGood", "idSIButton9", "iCancel"]:
try:
driver.find_element(By.ID, id).click()
restart = True
except Exception as e:
pass
wait_until_visible(By.CSS_SELECTOR, 'span[mee-element-ready="$ctrl.loadCounterAnimation()"]', browser=driver)
@ -832,7 +827,7 @@ else :
display = SmartDisplay(size=(1920, 1080))
display.start()
webhookFailure.send(f"Starting on this config", username="Check de lancement", avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
#webhookFailure.send(f"Starting on this config", username="Check de lancement", avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
if g.dev :
driver = firefox_driver()

View File

@ -1 +1 @@
v6.5.5
v6.5.6