added more delay during logging
This commit is contained in:
parent
bc665819e8
commit
f5d332c26e
3
V4.py
3
V4.py
|
@ -527,7 +527,7 @@ def login():
|
||||||
mail = driver.find_element(By.ID, "i0116")
|
mail = driver.find_element(By.ID, "i0116")
|
||||||
send_keys_wait(mail, _mail)
|
send_keys_wait(mail, _mail)
|
||||||
mail.send_keys(Keys.ENTER)
|
mail.send_keys(Keys.ENTER)
|
||||||
CustomSleep(5)
|
CustomSleep(10)
|
||||||
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)
|
||||||
|
@ -877,6 +877,7 @@ def Fidelite():
|
||||||
result = get(FidelityLink) #get the url of fidelity page
|
result = get(FidelityLink) #get the url of fidelity page
|
||||||
except Exception as e :
|
except Exception as e :
|
||||||
printf(e)
|
printf(e)
|
||||||
|
result = False
|
||||||
|
|
||||||
if result :
|
if result :
|
||||||
lien = result.content.decode("UTF-8")
|
lien = result.content.decode("UTF-8")
|
||||||
|
|
Loading…
Reference in New Issue