MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / is_jquery_activated

Function is_jquery_activated

seleniumbase/fixtures/js_utils.py:147–152  ·  view source on GitHub ↗
(driver)

Source from the content-addressed store, hash-verified

145
146
147def is_jquery_activated(driver):
148 try:
149 execute_script(driver, "jQuery('html');") # Fails if jq is not defined
150 return True
151 except Exception:
152 return False
153
154
155def wait_for_jquery_active(driver, timeout=None):

Callers 3

activate_jquery_confirmFunction · 0.85
activate_html_inspectorFunction · 0.85
activate_messengerFunction · 0.85

Calls 1

execute_scriptFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…