From ad513bfe9c268589662d2d29982a5a89fc88dab3 Mon Sep 17 00:00:00 2001 From: piair Date: Sun, 11 Dec 2022 17:15:57 +0100 Subject: [PATCH] fix languagee popup error --- V4.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/V4.py b/V4.py index 83b52cd..21cd99d 100755 --- a/V4.py +++ b/V4.py @@ -376,7 +376,10 @@ def login(): break except: pass - + try: + driver.find_element(By.XPATH, "/html/body/div/div/div/div/div[2]/a").click() # may need to be clicked if the language is english + except: + pass WaitUntilVisible(By.ID, "i0116", browser = driver) mail = driver.find_element(By.ID, "i0116")