MCPcopy Index your code
hub / github.com/seleniumbase/SeleniumBase / wait_for_angularjs

Method wait_for_angularjs

seleniumbase/fixtures/base_case.py:4985–4994  ·  view source on GitHub ↗

Waits for Angular components of the page to finish loading. Returns True when the method completes.

(self, timeout=None, **kwargs)

Source from the content-addressed store, hash-verified

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()

Callers 11

clickMethod · 0.95
double_clickMethod · 0.95
context_clickMethod · 0.95
click_active_elementMethod · 0.95
__select_optionMethod · 0.95
activate_bootstrapFunction · 0.80
activate_driverjsFunction · 0.80
activate_hopscotchFunction · 0.80
activate_introjsFunction · 0.80
activate_shepherdFunction · 0.80

Calls 2

__check_scopeMethod · 0.95
__get_new_timeoutMethod · 0.95

Tested by

no test coverage detected