fix languagee popup error

This commit is contained in:
piair 2022-12-11 17:15:57 +01:00
parent fe772048de
commit ad513bfe9c
1 changed files with 4 additions and 1 deletions

5
V4.py
View File

@ -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")