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

Function firefox_linux

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

Source from the content-addressed store, hash-verified

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

Callers 2

firefoxFunction · 0.85
print_firefoxFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected