def test_login():

    driver = webdriver.Chrome()
    # driver.get("https://opensource-demo.orangehrmlive.com/")

    login_page = LoginPage(driver)
    login_page.open_page(url="https://opensource-demo.orangehrmlive.com/")
    login_page.input_username(username="******")
    login_page.input_password(password="******")
    login_page.click_login_btn()
 def test_login(self):
     driver = self.driver
     login = LoginPage(driver)
     login.launch_url(cs.URL)
     login.enter_un(cs.UN)
     login.enter_pwd(cs.PWD)
     login.click_login_btn()
     # driver.find_element_by_id("username").send_keys("admin")
     # driver.find_element_by_name("pwd").send_keys("manager")
     # driver.find_element_by_id("loginButton").click()
     time.sleep(5)