added more delay during logging

This commit is contained in:
piair 2022-05-28 08:18:21 +02:00
parent bc665819e8
commit f5d332c26e

3
V4.py
View File

@ -527,7 +527,7 @@ def login():
mail = driver.find_element(By.ID, "i0116")
send_keys_wait(mail, _mail)
mail.send_keys(Keys.ENTER)
CustomSleep(5)
CustomSleep(10)
pwd = driver.find_element(By.ID, "i0118")
send_keys_wait(pwd, _password)
pwd.send_keys(Keys.ENTER)
@ -877,6 +877,7 @@ def Fidelite():
result = get(FidelityLink) #get the url of fidelity page
except Exception as e :
printf(e)
result = False
if result :
lien = result.content.decode("UTF-8")