not usefull messages

This commit is contained in:
piair 2022-06-16 08:21:09 +02:00
parent 8f6f2ab5df
commit fbed3ae854
1 changed files with 0 additions and 4 deletions

4
V4.py
View File

@ -550,28 +550,24 @@ 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("login - 2.1 ", end = "\r")
pass pass
printf(f"login - 2.1 - erreur validation bouton KmsiCheckboxField. pas forcement grave {e}") printf(f"login - 2.1 - erreur validation bouton KmsiCheckboxField. pas forcement grave {e}")
try: try:
driver.find_element(By.ID, "iLooksGood").click() driver.find_element(By.ID, "iLooksGood").click()
except Exception as e: except Exception as e:
printf("login - 2.2 ", end = "\r")
pass pass
printf(f"login - 2.2 - erreur validation bouton iLooksGood. pas forcement grave {e}") printf(f"login - 2.2 - erreur validation bouton iLooksGood. pas forcement grave {e}")
try: try:
driver.find_element(By.ID, "idSIButton9").click() driver.find_element(By.ID, "idSIButton9").click()
except Exception as e: except Exception as e:
printf("login - 2.3 ", end = "\r")
pass pass
printf(f"login - 2.3 - erreur validation bouton idSIButton9. pas forcement grave {e}") printf(f"login - 2.3 - erreur validation bouton idSIButton9. pas forcement grave {e}")
try: try:
driver.find_element(By.ID, "iCancel").click() driver.find_element(By.ID, "iCancel").click()
except Exception as e: except Exception as e:
printf("login - 2.4 ", end = "\r")
pass pass
printf(f"login - 2.4 - erreur validation bouton iCancel. pas forcement grave {e}") printf(f"login - 2.4 - erreur validation bouton iCancel. pas forcement grave {e}")