(self)
| 81 | self.wait_for_reloading_indicator_to_disappear() |
| 82 | |
| 83 | def refresh_page(self): |
| 84 | try: |
| 85 | self.driver.refresh() |
| 86 | # wait until alert is present |
| 87 | WebDriverWait(self.driver, 1).until(EC.alert_is_present()) |
| 88 | |
| 89 | # switch to alert and accept it |
| 90 | self.driver.switch_to.alert.accept() |
| 91 | except TimeoutException: |
| 92 | pass |
| 93 | |
| 94 | def click_modal(self, button_text, docker=False): |
| 95 | time.sleep(0.5) |