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

Function execute_async_script

seleniumbase/fixtures/js_utils.py:58–64  ·  view source on GitHub ↗
(driver, script, timeout=settings.LARGE_TIMEOUT)

Source from the content-addressed store, hash-verified

56
57
58def execute_async_script(driver, script, timeout=settings.LARGE_TIMEOUT):
59 if hasattr(driver, "set_script_timeout"):
60 driver.set_script_timeout(timeout)
61 if hasattr(driver, "execute_async_script"):
62 return driver.execute_async_script(script)
63 else:
64 return None
65
66
67def wait_for_angularjs(driver, timeout=settings.LARGE_TIMEOUT, **kwargs):

Callers 1

wait_for_angularjsFunction · 0.85

Calls 1

execute_async_scriptMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…