improved error messages

This commit is contained in:
piair 2021-12-23 13:30:30 +01:00
parent a110841533
commit 9ff97a3611
1 changed files with 3 additions and 3 deletions

6
V4.py
View File

@ -388,12 +388,12 @@ def login() :
try :
driver.find_element_by_id('KmsiCheckboxField').click()
except Exception as e :
printf(f"erreur validation bouton {e}")
printf(f"erreur validation bouton KmsiCheckboxField. pas forcement grave {e}")
CustomSleep(5)
try :
driver.find_element_by_id('idSIButton9').click()
except :
pass
except Exception as e :
printf(f"erreur validation bouton idSIButton9. pas forcement grave {e}")
printf("login completed")
CustomSleep(5)