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

Function verify_url

scripts/pinned_browsers.py:239–242  ·  view source on GitHub ↗

Verify that a URL is downloadable.

(url)

Source from the content-addressed store, hash-verified

237
238
239def verify_url(url):
240 """Verify that a URL is downloadable."""
241 r = http.request("HEAD", url)
242 return r.status == 200
243
244
245def find_matching_edge_version(platform):

Callers 1

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected