improved error messages

This commit is contained in:
piair 2021-12-23 13:30:30 +01:00
parent a110841533
commit 9ff97a3611

6
V4.py
View File

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