sleep a bit
This commit is contained in:
parent
1ea1ff776e
commit
feb7834d1f
1
V6.py
1
V6.py
|
@ -205,6 +205,7 @@ def all_cards():
|
|||
|
||||
info("Popup 'Explorer le programme' reçue")
|
||||
wait_until_visible(By.CSS_SELECTOR, '[aria-label="Boîte de dialogue Récompenses"]', timeout=10, browser=driver)
|
||||
custom_sleep(1.5)
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue