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

Method _wait_for

web/regression/feature_utils/pgadmin_page.py:1128–1135  ·  view source on GitHub ↗
(self, waiting_for_message, condition_met_function,
                  timeout=5)

Source from the content-addressed store, hash-verified

1126 return element_selector(self.driver)
1127
1128 def _wait_for(self, waiting_for_message, condition_met_function,
1129 timeout=5):
1130 if timeout is None:
1131 timeout = self.timeout
1132 return WebDriverWait(self.driver, timeout, 0.01).until(
1133 condition_met_function,
1134 "Timed out waiting for " + waiting_for_message
1135 )
1136
1137 def wait_for_elements(self, find_method_with_args):
1138 """Using xpath, it will wait for elements"""

Calls

no outgoing calls

Tested by

no test coverage detected