MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / fetch_and_save

Function fetch_and_save

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

Source from the content-addressed store, hash-verified

48
49
50def fetch_and_save(url, file_path):
51 response = http.request("GET", url)
52 with open(file_path, "wb") as file:
53 file.write(response.data)
54
55
56def new_chrome(chrome_milestone):

Callers 1

add_pdlsFunction · 0.85

Calls 2

requestMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected