remove Inext insterract, was causing error

This commit is contained in:
piair338 2021-12-25 10:57:44 +01:00
parent feb64efe8e
commit 362ab655f6

10
V4.py
View File

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