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

Function firefox_linux

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

Source from the content-addressed store, hash-verified

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

Callers 2

firefoxFunction · 0.85
print_firefoxFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected