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)
Beispiel #5
0
 def title(self):
     return HtmlElement(self.web_driver, By.css('.welcome-block h1'), self, expected_text='Short Term Loans')
Beispiel #6
0
 def logo(self):
     return HtmlElement(self.web_driver, By.id('logo'), self)
Beispiel #7
0
 def promo_code_text(self):
     return HtmlElement(
         self.web_element,
         By.xpath('.//span[contains(text(), "Use promocode")]'), self)
Beispiel #8
0
 def close_button(self):
     return HtmlElement(self.web_element,
                        By.css('button.desmoines-CloseButton'), self)
Beispiel #9
0
 def title(self):
     return HtmlElement(self.web_element, By.css('h5.hide-for-small-only'),
                        self)