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

Function get_sha_json

scripts/selenium_manager.py:27–31  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

25
26# Each release tag points at the commit holding that release's hashes
27def get_sha_json(tag):
28 r = http.request("GET", f"{RAW}/{tag}/latest.json")
29 if r.status != 200:
30 raise RuntimeError(f"No hashes found for {tag} (HTTP {r.status})")
31 return json.loads(r.data)
32
33
34def print_linux_x86_64(base_url, sha):

Callers 1

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected