def activate_bootstrap(driver):
bootstrap_tour_css = constants.BootstrapTour.MIN_CSS<EOL>bootstrap_tour_js = constants.BootstrapTour.MIN_JS<EOL>verify_script = ("""<STR_LIT>""")<EOL>backdrop_style = style_sheet.bt_backdrop_style<EOL>js_utils.add_css_style(driver, backdrop_style)<EOL>js_utils.wait_for_ready_state_complete(driver)<EOL>js_utils.wait_for_angularjs(driver)<EOL>for x in range(<NUM_LIT:4>):<EOL><INDENT>js_utils.activate_jquery(driver)<EOL>js_utils.add_css_link(driver, bootstrap_tour_css)<EOL>js_utils.add_js_link(driver, bootstrap_tour_js)<EOL>time.sleep(<NUM_LIT:0.1>)<EOL>for x in range(int(settings.MINI_TIMEOUT * <NUM_LIT>)):<EOL><INDENT>try:<EOL><INDENT>driver.execute_script(verify_script)<EOL>time.sleep(<NUM_LIT>)<EOL>return<EOL><DEDENT>except Exception:<EOL><INDENT>time.sleep(<NUM_LIT>)<EOL><DEDENT><DEDENT><DEDENT>raise_unable_to_load_jquery_exception(driver)<EOL>
Allows you to use Bootstrap Tours with SeleniumBase
        http://bootstraptour.com/