class HomePage():
    def __init__(self, dr):
        self.dr = dr
        self.welcome_link_id = "welcome"
        self.logout_link_linktext = "Logout"

    def click_welcome(self):
        self.dr.find_element_by_id(self.welcome_link_id).click()

    def click_logout(self):
        self.dr.find_element_by_link_text(self.logout_link_linktext).click()
