well, not working at all is faster than working right ?
This commit is contained in:
parent
c71aad15df
commit
f8e9daaedd
4
V4.py
4
V4.py
|
@ -590,11 +590,11 @@ def login():
|
||||||
except :
|
except :
|
||||||
raise ValueError('already logged in')
|
raise ValueError('already logged in')
|
||||||
|
|
||||||
WaitUntilVisible(By.ID, "i0116")
|
WaitUntilVisible(By.ID, "i0116", browser = driver)
|
||||||
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)
|
||||||
WaitUntilVisible(By.ID, "i0118")
|
WaitUntilVisible(By.ID, "i0118", browser = driver)
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue