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

Function verify_url

scripts/pinned_browsers.py:235–238  ·  view source on GitHub ↗

Verify that a URL is downloadable.

(url)

Source from the content-addressed store, hash-verified

233
234
235def verify_url(url):
236 """Verify that a URL is downloadable."""
237 r = http.request("HEAD", url)
238 return r.status == 200
239
240
241def find_matching_edge_version(platform):

Callers 1

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected