Waits for Angular components of the page to finish loading. Returns True when the method completes.
(self, timeout=None, **kwargs)
| 4983 | return True |
| 4984 | |
| 4985 | def wait_for_angularjs(self, timeout=None, **kwargs): |
| 4986 | """Waits for Angular components of the page to finish loading. |
| 4987 | Returns True when the method completes.""" |
| 4988 | self.__check_scope() |
| 4989 | if not timeout: |
| 4990 | timeout = settings.MINI_TIMEOUT |
| 4991 | if self.timeout_multiplier and timeout == settings.MINI_TIMEOUT: |
| 4992 | timeout = self.__get_new_timeout(timeout) |
| 4993 | js_utils.wait_for_angularjs(self.driver, timeout, **kwargs) |
| 4994 | return True |
| 4995 | |
| 4996 | def sleep(self, seconds): |
| 4997 | self.__check_scope() |
no test coverage detected