update sso_url for newest linuxacademy changes
This commit is contained in:
parent
ff1f3d4883
commit
cf92bb4c26
@ -97,15 +97,14 @@ def launch_browser(name):
|
||||
options.add_argument("--window-size=1920,1080")
|
||||
driver = webdriver.Firefox(options=options)
|
||||
|
||||
driver.get("https://linuxacademy.com/")
|
||||
driver.get("https://linuxacademy.com/cp/ssologin")
|
||||
return driver
|
||||
|
||||
|
||||
def la_login(driver, args):
|
||||
link = driver.find_element_by_partial_link_text('Log In')
|
||||
link.click()
|
||||
#link = driver.find_element_by_partial_link_text('Log In')
|
||||
#link.click()
|
||||
time.sleep(5)
|
||||
|
||||
user = driver.find_element_by_name('username')
|
||||
user.send_keys(args['username'])
|
||||
password = driver.find_element_by_name('password')
|
||||
|
Loading…
Reference in New Issue
Block a user