can I go to some website ?
This commit is contained in:
parent
9e274b6d16
commit
37c5d9cf43
3
V6.py
3
V6.py
|
@ -362,6 +362,9 @@ 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
|
||||||
|
input("Press enter to continue")
|
||||||
|
driver.get("https://piair.dev")
|
||||||
|
input("Press enter to continue")
|
||||||
driver.get("https://login.live.com")
|
driver.get("https://login.live.com")
|
||||||
wait_until_visible(By.ID, "i0116", browser=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")
|
||||||
|
|
Loading…
Reference in New Issue