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

Function get_package_location

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

Source from the content-addressed store, hash-verified

703
704
705def get_package_location():
706 # from pkg_resources import get_distribution
707 # location = get_distribution("seleniumbase").location
708 import os
709 import seleniumbase
710
711 location = os.path.dirname(os.path.realpath(seleniumbase.__file__))
712 if location.endswith("seleniumbase"):
713 location = location[0 : -len("seleniumbase")] # noqa: E203
714 return location
715
716
717def show_package_location():

Callers 1

show_package_locationFunction · 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…