def promo_code_input(self): return HtmlInputElement(self.web_element, By.id('promocode'), self)
def total_repayable(self): return HtmlElement(self.web_element, By.id('calc_total_payable'), self)
def total_repayable_with_discount(self): return HtmlElement(self.web_element, By.id('calc_new_total_payable'), self)
def promo_code_button(self): return HtmlElement(self.web_element, By.id('promocode-button'), self)
def promo_code_info_label(self): return HtmlElement(self.web_element, By.id('promo-code-info'), self)
def logo(self): return HtmlElement(self.web_driver, By.id('logo'), self)
def title(self): return HtmlElement(self.web_driver, By.css('.welcome-block h1'), self, expected_text='Short Term Loans')
def discount_overlay(self): return DiscountOverlay(self.web_driver, By.class_name('Campaign__canvas'), self)
def loan_section(self): return LoanSection(self.web_driver, By.css('.loan-details'), self)
def promo_code_text(self): return HtmlElement( self.web_element, By.xpath('.//span[contains(text(), "Use promocode")]'), self)
def close_button(self): return HtmlElement(self.web_element, By.css('button.desmoines-CloseButton'), self)
def title(self): return HtmlElement(self.web_element, By.css('h5.hide-for-small-only'), self)