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

Function is_driverjs_activated

seleniumbase/core/tour_helper.py:92–100  ·  view source on GitHub ↗
(driver)

Source from the content-addressed store, hash-verified

90
91
92def is_driverjs_activated(driver):
93 verify_script = """// Verify DriverJS activated
94 var driverjs2 = Driver.name;
95 """
96 try:
97 driver.execute_script(verify_script)
98 return True
99 except Exception:
100 return False
101
102
103def activate_hopscotch(driver):

Callers 1

play_driverjs_tourFunction · 0.85

Calls 1

execute_scriptMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…