From 1d4021edb0b5ffd302c86fb31201cc86f3e6b6f3 Mon Sep 17 00:00:00 2001 From: piair Date: Sun, 24 Sep 2023 22:13:40 +0200 Subject: [PATCH] where are you ? --- V6.py | 8 +++++--- version | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/V6.py b/V6.py index 7f69b30..56022f2 100755 --- a/V6.py +++ b/V6.py @@ -208,12 +208,11 @@ def do_poll(): def all_cards(): + input("1") driver.get("https://rewards.bing.com") wait_until_visible(By.CLASS_NAME, "c-card-content", 10, driver) liste = driver.find_elements(By.CLASS_NAME, "c-card-content") custom_sleep(2) - if "welcometour" in driver.current_url: - welcome_tour_NO(driver) try : promo() except Exception as e: @@ -246,13 +245,17 @@ def all_cards(): except IndexError : if i == len(liste) & i > 15 : checked = False + input("2") if checked: custom_sleep(1.5) driver.execute_script("arguments[0].scrollIntoView();", liste[i]) custom_sleep(1.5) + input("3") liste[i].click() + input("4") if len(driver.window_handles) > 1 : driver.switch_to.window(driver.window_handles[1]) + input("5") try_play(driver.title) close_tab(driver.window_handles[1]) try : @@ -789,7 +792,6 @@ def CustomStart(): if "tout" in Actions: daily_routine(True) if "daily" in Actions: - input("there ?") try: all_cards() except Exception as e: diff --git a/version b/version index 6726228..b601d30 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.5.4 +v6.5.5