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

Function firefox_linux

scripts/pinned_browsers.py:470–474  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

468
469
470def firefox_linux(version):
471 if int(version.split(".")[0]) < 135:
472 return f"https://ftp.mozilla.org/pub/firefox/releases/{version}/linux-x86_64/en-US/firefox-{version}.tar.bz2"
473 else:
474 return f"https://ftp.mozilla.org/pub/firefox/releases/{version}/linux-x86_64/en-US/firefox-{version}.tar.xz"
475
476
477def firefox_mac(version):

Callers 2

firefoxFunction · 0.85
print_firefoxFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected