didn't I already changed that ?
This commit is contained in:
parent
3d90fa64bb
commit
6290fde32e
4
V4.py
4
V4.py
|
@ -138,7 +138,7 @@ def check_ipv4():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def claim_amazon(): #only work in french for now
|
def claim_amazon():
|
||||||
try :
|
try :
|
||||||
driver.get("https://rewards.microsoft.com/redeem/000803000031")
|
driver.get("https://rewards.microsoft.com/redeem/000803000031")
|
||||||
try :
|
try :
|
||||||
|
@ -149,7 +149,7 @@ def claim_amazon(): #only work in french for now
|
||||||
try :
|
try :
|
||||||
driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRMER LA RÉCOMPENSE')]").click()
|
driver.find_element(By.XPATH, "//span[contains( text( ), 'CONFIRMER LA RÉCOMPENSE')]").click()
|
||||||
except :
|
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)
|
sleep(5)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue