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

Function execute_script

seleniumbase/fixtures/js_utils.py:17–20  ·  view source on GitHub ↗
(driver, script, *args, **kwargs)

Source from the content-addressed store, hash-verified

15
16
17def execute_script(driver, script, *args, **kwargs):
18 if shared_utils.is_cdp_swap_needed(driver):
19 return driver.cdp.evaluate(script)
20 return driver.execute_script(script, *args, **kwargs)
21
22
23def wait_for_ready_state_complete(driver, timeout=settings.LARGE_TIMEOUT):

Callers 15

wait_for_angularjsFunction · 0.85
is_jquery_activatedFunction · 0.85
wait_for_jquery_activeFunction · 0.85
activate_jqueryFunction · 0.85
is_in_frameFunction · 0.85
safe_execute_scriptFunction · 0.85
call_me_laterFunction · 0.85
highlight_with_jsFunction · 0.85

Calls 2

evaluateMethod · 0.45
execute_scriptMethod · 0.45

Tested by

no test coverage detected