def activate_shepherd(driver):
shepherd_js = constants.Shepherd.MIN_JS<EOL>sh_theme_arrows_css = constants.Shepherd.THEME_ARROWS_CSS<EOL>sh_theme_arrows_fix_css = constants.Shepherd.THEME_ARR_FIX_CSS<EOL>sh_theme_default_css = constants.Shepherd.THEME_DEFAULT_CSS<EOL>sh_theme_dark_css = constants.Shepherd.THEME_DARK_CSS<EOL>sh_theme_sq_css = constants.Shepherd.THEME_SQ_CSS<EOL>sh_theme_sq_dark_css = constants.Shepherd.THEME_SQ_DK_CSS<EOL>tether_js = constants.Tether.MIN_JS<EOL>spinner_css = constants.Messenger.SPINNER_CSS<EOL>sh_style = style_sheet.sh_style_test<EOL>backdrop_style = style_sheet.sh_backdrop_style<EOL>activate_bootstrap(driver)<EOL>js_utils.wait_for_ready_state_complete(driver)<EOL>js_utils.wait_for_angularjs(driver)<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.add_css_link(driver, spinner_css)<EOL>js_utils.add_css_link(driver, sh_theme_arrows_css)<EOL>js_utils.add_css_link(driver, sh_theme_arrows_fix_css)<EOL>js_utils.add_css_link(driver, sh_theme_default_css)<EOL>js_utils.add_css_link(driver, sh_theme_dark_css)<EOL>js_utils.add_css_link(driver, sh_theme_sq_css)<EOL>js_utils.add_css_link(driver, sh_theme_sq_dark_css)<EOL>js_utils.add_js_link(driver, tether_js)<EOL>js_utils.add_js_link(driver, shepherd_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(sh_style)  <EOL>js_utils.wait_for_ready_state_complete(driver)<EOL>js_utils.wait_for_angularjs(driver)<EOL>driver.execute_script(sh_style)  <EOL>js_utils.wait_for_ready_state_complete(driver)<EOL>js_utils.wait_for_angularjs(driver)<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 Shepherd Tours with SeleniumBase
        http://github.hubspot.com/shepherd/docs/welcome/