Esempio n. 1
0
 def delete(self):
     hdr = self.driver.find_element_by_xpath(self.HDR_XPATH)
     hdr.click()
     check_visible(self.HDR_XPATH + self._FORM_XPATH_ADDITION, self.driver)
     aud_form = self.get_form()
     aud_form.delete()
     check_invisible(self.HDR_XPATH, self.driver)
Esempio n. 2
0
 def submit(self):
     check_visible(self._SUBMIT_XPATH, self.driver)
     submit_btn = self.driver.find_element_by_xpath(self._SUBMIT_XPATH)
     submit_btn.click()
     check_invisible(self._SELF_XPATH, self.driver)
Esempio n. 3
0
 def _wait_no_ctr(self, id):
     return check_invisible(self.TOP_CTR_ID_XPATH_TMPL % id, self.driver)