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

Function github_fetch

scripts/update_cdp.py:53–58  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

51
52
53def github_fetch(url):
54 response = github_get(url)
55 if response.status != 200:
56 body = response.data[:200].decode("utf-8", "replace")
57 raise ValueError(f"Fetch failed (HTTP {response.status}): {url}: {body}")
58 return response.data
59
60
61def fetch_and_save(url, file_path):

Callers 3

fetch_and_saveFunction · 0.85
flatten_browser_pdlFunction · 0.85
add_pdlsFunction · 0.85

Calls 2

github_getFunction · 0.85
decodeMethod · 0.65

Tested by

no test coverage detected