def title_summary(self):
     return InvariableField(
         self.webdriver,
         by_type=By.CSS_SELECTOR,
         value=
         "div.row:nth-child(2) > div:nth-child(4) > div > .card-header > strong"
     ).get_html()
Esempio n. 2
0
 def empty_text(self):
     return InvariableField(self.webdriver,
                            by_type=By.CSS_SELECTOR,
                            value=".react-bs-table-no-data").get_html()
 def new_sale(self):
     return InvariableField(self.webdriver,
                            by_type=By.CSS_SELECTOR,
                            value='h2')
Esempio n. 4
0
 def subtitle(self):
     return InvariableField(
         self.webdriver, by_type=By.CSS_SELECTOR,
         value=".card-body > p").get_text_without_react()
Esempio n. 5
0
 def title(self):
     return InvariableField(self.web_element, By.CSS_SELECTOR, 'h2')
Esempio n. 6
0
 def delivers(self):
     return InvariableField(self.webdriver, By.CSS_SELECTOR,
                            'hr').get_html()
 def error(self):
     return InvariableField(self.webdriver, By.CSS_SELECTOR,
                            "div>ul>li:nth-child(1)").get_html()
 def current_value(self):
     return InvariableField(self.webdriver, By.CSS_SELECTOR, "span[role='option']", self.index).get_html()
Esempio n. 9
0
 def information_container(self):
     return InvariableField(self.webdriver, By.CLASS_NAME, "information-container").get_html()
Esempio n. 10
0
 def title_by_species(self):
     return InvariableField(
         self.webdriver,
         by_type=By.CSS_SELECTOR,
         value=".row > div:nth-child(2) > div > div:nth-child(1) > strong"
     ).get_html()
 def refresh_button_text(self):
     return InvariableField(
         self.webdriver, by_type=By.CSS_SELECTOR,
         value='.pull-right.btn').get_text_without_react()
 def title(self):
     return InvariableField(self.webdriver,
                            by_type=By.CSS_SELECTOR,
                            value="h2").get_html()
Esempio n. 13
0
 def supplier(self):
     return InvariableField(self.webdriver, By.CSS_SELECTOR,
                            'div > span').get_html()
Esempio n. 14
0
 def product_name(self):
     return InvariableField(self.webdriver, By.CSS_SELECTOR, 'h3').get_html()
Esempio n. 15
0
 def copyright(self):
     return InvariableField(self.webdriver, By.CLASS_NAME, "copyright-information").get_html()
Esempio n. 16
0
 def subtitle(self):
     return InvariableField(self.webdriver,
                            by_type=By.CSS_SELECTOR,
                            value=".card-body > p").get_html()
Esempio n. 17
0
 def customer_name(self):
     return InvariableField(
         self.webdriver, By.CSS_SELECTOR,
         "div> div > div:nth-child(1) > div:nth-child(1) > span").get_html(
         )
Esempio n. 18
0
 def sales_summary(self):
     return InvariableField(
         self.webdriver, By.CSS_SELECTOR,
         'div:nth-child(2) > div > div:nth-child(1) > strong').get_html()
 def main_menu_data_lists_button(self):
     return InvariableField(self.webdriver, By.CSS_SELECTOR,
                            "nav > ul > li:nth-child(6)")