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

Function get_version_info

seleniumbase/console_scripts/run.py:685–697  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

683
684
685def get_version_info():
686 # from pkg_resources import get_distribution
687 # version = get_distribution("seleniumbase").version
688 from seleniumbase import __version__
689
690 version_info = None
691 c1 = colorama.Fore.BLUE + colorama.Back.LIGHTCYAN_EX
692 c2 = colorama.Fore.BLUE + colorama.Back.LIGHTGREEN_EX
693 c3 = colorama.Fore.BLUE + colorama.Back.LIGHTYELLOW_EX
694 cr = colorama.Style.RESET_ALL
695 sb_text = c1 + "selenium" + c2 + "base" + cr
696 version_info = "%s %s%s%s" % (sb_text, c3, __version__, cr)
697 return version_info
698
699
700def show_version_info():

Callers 1

show_version_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…