MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / refresh_page

Method refresh_page

web/regression/feature_utils/pgadmin_page.py:83–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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)

Callers 1

setUpMethod · 0.80

Calls 1

refreshMethod · 0.80

Tested by 1

setUpMethod · 0.64