From 05013cea75c26c071c63e7f0b3087c215a99c8de Mon Sep 17 00:00:00 2001 From: piair Date: Sat, 26 Nov 2022 15:07:32 +0100 Subject: [PATCH] =?UTF-8?q?fixing=20issues=20in=20fidelit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- V4.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/V4.py b/V4.py index f85f2be..37f5783 100755 --- a/V4.py +++ b/V4.py @@ -633,7 +633,6 @@ def Fidelite(): if result : lien = result.content.decode("UTF-8") - printf(lien) if (lien.split(":")[0] == "https") or (lien.split(":")[0] == "http") : @@ -655,7 +654,7 @@ def Fidelite(): bouton.click() except Exception as e1 : try : - t = driver.find_element(By.XPATH,'/html/body/div[1]/div[2]/main/div[2]/div[2]/div[7]/div[3]/div[1]') + t = driver.find_element(By.XPATH,'/html/body/div[1]/div[2]/main/div[2]/div[2]/div[7]/div[3]/div[1]/a') t.click() except Exception as e2 : LogError(f"fidélité - double erreur - e1 : {e1} - e2 {e2}", driver, _mail)