forked from piair/MsRewards-Reborn
weird error
This commit is contained in:
parent
2a3878b919
commit
9e274b6d16
4
V6.py
4
V6.py
@ -362,8 +362,8 @@ def try_play(nom="inconnu"):
|
|||||||
def login_part_1():
|
def login_part_1():
|
||||||
info("Starting part 1 of login")
|
info("Starting part 1 of login")
|
||||||
driver = config.WebDriver.driver
|
driver = config.WebDriver.driver
|
||||||
config.WebDriver.driver.get("https://login.live.com")
|
driver.get("https://login.live.com")
|
||||||
wait_until_visible(By.ID, "i0116", browser=config.WebDriver.driver)
|
wait_until_visible(By.ID, "i0116", browser=driver)
|
||||||
mail_elem = driver.find_element(By.ID, "i0116")
|
mail_elem = driver.find_element(By.ID, "i0116")
|
||||||
send_keys_wait(mail_elem, config.UserCredentials.get_mail())
|
send_keys_wait(mail_elem, config.UserCredentials.get_mail())
|
||||||
mail_elem.send_keys(Keys.ENTER)
|
mail_elem.send_keys(Keys.ENTER)
|
||||||
|
Loading…
Reference in New Issue
Block a user