MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / main

Function main

py/selenium-manager/selenium_manager/__init__.py:104–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103
104def main() -> None:
105 try:
106 binary = binary_path()
107 except RuntimeError as exc:
108 sys.exit(str(exc))
109 # Installing the standalone package is not consent to usage stats, so they
110 # are opt-in here: SE_AVOID_STATS=false (or se-config.toml) turns them on.
111 env = {**os.environ}
112 if not env.get("SE_AVOID_STATS"):
113 env["SE_AVOID_STATS"] = "true"
114 sys.exit(subprocess.run([binary, *sys.argv[1:]], env=env).returncode)

Calls 3

binary_pathFunction · 0.70
getMethod · 0.65
runMethod · 0.65