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

Function is_bootstrap_activated

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

Source from the content-addressed store, hash-verified

46
47
48def is_bootstrap_activated(driver):
49 verify_script = """// Verify Bootstrap Tour activated
50 var tour2 = new Tour({
51 });"""
52 try:
53 driver.execute_script(verify_script)
54 return True
55 except Exception:
56 return False
57
58
59def activate_driverjs(driver):

Callers 1

play_bootstrap_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…