def test_login_system(self): # login_page = LoginPage(self.driver) login_page = LoginPage(self.driver) login_page.set_username("35771") login_page.set_password("9876501") login_page.set_vcode("2024") login_page.click_login("signin")
def login(driver, page_url): login_page = LoginPage(driver, 'https://www.coursera.org/?authMode=login') login_page.fill_up_email('*****@*****.**') login_page.fill_up_password('yourpassword') login_page.click_login() return