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()

@@ -6,12 +6,67 @@
 lib.
-page
+constants.element.landing_page import login_button%0Afrom lib
 .bas
@@ -74,20 +74,16 @@
  import 
-Base
 Page%0Afro
@@ -127,12 +127,8 @@
 age(
-Base
 Page
@@ -253,13 +253,12 @@
 uri.
-LOGIN
+BASE
 )%0A%0A 
@@ -361,34 +361,29 @@
 tor(
-%22a.btn.btn-large.btn-info%22
+login_button.SELECTOR
 ).cl

Add login page