(self, waiting_for_message, condition_met_function,
timeout=5)
| 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""" |
no outgoing calls
no test coverage detected