Exemplo n.º 1
0
 def does_first_row_contains_text(self, row_text: list) -> bool:
     row_with_text = Element(By.XPATH,
                             self._get_selector_with_text(row_text, 1),
                             self.context)
     return row_with_text.is_element_present()
Exemplo n.º 2
0
 def is_row_with_text_present(self, row_text: list) -> bool:
     row_with_text = Element(By.XPATH,
                             self._get_selector_with_text(row_text),
                             self.context)
     return row_with_text.is_element_present()