Handle Streak-Protection Popup #12

Merged
augustin64 merged 3 commits from streak-protection into master 2024-05-12 18:55:34 +02:00
Showing only changes of commit 906d3e7822 - Show all commits

3
V6.py
View File

@ -232,7 +232,8 @@ def all_cards():
custom_sleep(1.5) custom_sleep(1.5)
return True return True
except (exceptions.NoSuchElementException, IndexError): except (exceptions.NoSuchElementException, exceptions.ElementNotInteractableException, IndexError):
# les éléments sont présents dans le DOM même quand la popup n'est pas visible apparemment
return False return False
driver.get("https://rewards.bing.com") driver.get("https://rewards.bing.com")