From 6290fde32e98b075f5b225799fa86450fd43431a Mon Sep 17 00:00:00 2001 From: piair Date: Tue, 11 Oct 2022 21:14:53 +0200 Subject: [PATCH] didn't I already changed that ? --- V4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/V4.py b/V4.py index fbd8bb1..3e851eb 100755 --- a/V4.py +++ b/V4.py @@ -138,7 +138,7 @@ def check_ipv4(): return False -def claim_amazon(): #only work in french for now +def claim_amazon(): try : driver.get("https://rewards.microsoft.com/redeem/000803000031") try : @@ -149,7 +149,7 @@ def claim_amazon(): #only work in french for now try : driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRMER LA RÉCOMPENSE')]").click() except : - driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRMER LA RÉCOMPENSE')]").click() + driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRM REWARD')]").click() sleep(5)