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

Function verify_url

scripts/pinned_browsers.py:234–237  ·  view source on GitHub ↗

Verify that a URL is downloadable.

(url)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected