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

Function firefox_linux

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

Source from the content-addressed store, hash-verified

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

Callers 2

firefoxFunction · 0.85
print_firefoxFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected