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

Method wait_for_app

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

Source from the content-addressed store, hash-verified

1108 return status
1109
1110 def wait_for_app(self):
1111 def page_shows_app(driver):
1112 if driver.title == self.app_config.APP_NAME:
1113 return True
1114 else:
1115 driver.refresh()
1116 return False
1117
1118 self._wait_for("app to start", page_shows_app, self.app_start_timeout)
1119
1120 def wait_for_element_to_reload(self, element_selector):
1121 WebDriverWait(self.driver, 20) \

Callers 1

setUpMethod · 0.80

Calls 1

_wait_forMethod · 0.95

Tested by 1

setUpMethod · 0.64