old_contents: from lib.page.base import BasePage
  from lib import constants
  
  
  class LoginPage(BasePage):
      def __init__(self, driver):
          super(LoginPage, self).__init__(driver)
          self._driver.get(constants.uri.LOGIN)
  
      def login(self, username=None, password=None):
          self._driver.find_element_by_css_selector("a.btn.btn-large.btn-info").click()
  
new_contents: from lib.constants.element.landing_page import login_button
  from lib.base import Page
  from lib import constants
  
  
  class LoginPage(Page):
      def __init__(self, driver):
          super(LoginPage, self).__init__(driver)
          self._driver.get(constants.uri.BASE)
  
      def login(self, username=None, password=None):
          self._driver.find_element_by_css_selector(login_button.SELECTOR).click()
  
subject: Add login page