Welcome Tour #11

Merged
augustin64 merged 8 commits from explorer-le-programme into master 2024-04-13 11:07:04 +02:00
Showing only changes of commit fcb40537dc - Show all commits

4
V6.py
View File

@ -201,8 +201,8 @@ def all_cards():
def popup_exploration():
debug("Popup 'Explorer le programme' reçue")
rewards_box = driver.find_element_by_css_selector('[aria-label="Boîte de dialogue Récompenses"]')
close_button = driver.find_element_by_css_selector('[aria-label="Fermer"]')
rewards_box = driver.find_element(By.CSS_SELECTOR, '[aria-label="Boîte de dialogue Récompenses"]')
close_button = rewards_box.find_element(By.CSS_SELECTOR, '[aria-label="Fermer"]')
close_button.click()
custom_sleep(1.5)