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 edge_platform_match(browser, platform):

Callers 1

edge_platform_matchFunction · 0.85

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected