well, not working at all is faster than working right ?

This commit is contained in:
piair338 2022-10-24 08:38:11 +00:00
parent c71aad15df
commit f8e9daaedd
1 changed files with 2 additions and 2 deletions

4
V4.py
View File

@ -590,11 +590,11 @@ def login():
except :
raise ValueError('already logged in')
WaitUntilVisible(By.ID, "i0116")
WaitUntilVisible(By.ID, "i0116", browser = driver)
mail = driver.find_element(By.ID, "i0116")
send_keys_wait(mail, _mail)
mail.send_keys(Keys.ENTER)
WaitUntilVisible(By.ID, "i0118")
WaitUntilVisible(By.ID, "i0118", browser = driver)
pwd = driver.find_element(By.ID, "i0118")
send_keys_wait(pwd, _password)
pwd.send_keys(Keys.ENTER)