remove Inext insterract, was causing error

This commit is contained in:
piair338 2021-12-25 10:57:44 +01:00
parent feb64efe8e
commit 362ab655f6
1 changed files with 5 additions and 5 deletions

10
V4.py
View File

@ -402,11 +402,11 @@ def login() :
pwd = driver.find_element(By.ID, 'i0118')
send_keys_wait(pwd, _password)
pwd.send_keys(Keys.ENTER)
try :
driver.find_element(By.ID, 'iNext').click()
except Exception as e :
printf(f'erreur validation bouton iNext. pas forcement grave - {e}') #dans le cas ou ms change ses parametre de confidentialité
# try :
# driver.find_element(By.ID, 'iNext').click()
#
# except Exception as e :
# printf(f'erreur validation bouton iNext. pas forcement grave - {e}') #dans le cas ou ms change ses parametre de confidentialité
CustomSleep(5)
try :
driver.find_element(By.ID, 'KmsiCheckboxField').click()