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()
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()