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 01416c0e11 - Show all commits

4
V6.py
View File

@ -266,9 +266,9 @@ def all_cards():
continue continue
custom_sleep(1.5) custom_sleep(1.5)
check_welcome_tour()
driver.execute_script("arguments[0].scrollIntoView();", card_list[i]) driver.execute_script("arguments[0].scrollIntoView();", card_list[i])
custom_sleep(1.5) custom_sleep(1.5)
check_welcome_tour()
card_list[i].click() card_list[i].click()
if len(driver.window_handles) > 1: if len(driver.window_handles) > 1:
@ -283,8 +283,8 @@ def all_cards():
if "mee-icon-AddMedium" not in card_list[i].get_attribute("innerHTML"): if "mee-icon-AddMedium" not in card_list[i].get_attribute("innerHTML"):
continue continue
driver.execute_script("arguments[0].scrollIntoView();", card_list[i])
check_welcome_tour() check_welcome_tour()
driver.execute_script("arguments[0].scrollIntoView();", card_list[i])
card_list[i].click() card_list[i].click()
driver.switch_to.window(driver.window_handles[1]) driver.switch_to.window(driver.window_handles[1])