Skip to content

Latest commit

 

History

History
executable file
·
54 lines (42 loc) · 1.97 KB

File metadata and controls

executable file
·
54 lines (42 loc) · 1.97 KB

Browsers (browsers)

Installs various browsers and their dependencies.

Example Usage

"features": {
    "ghcr.io/postfinance/devcontainer-features/browsers:1.0.0": {
        "chromeVersion": "none",
        "useChromeForTesting": true,
        "chromeDownloadUrl": "",
        "chromeVersionsUrl": "",
        "chromeTestingVersionsUrl": "",
        "firefoxVersion": "none",
        "firefoxDownloadUrl": "",
        "firefoxVersionsUrl": "",
        "firefoxVersionResolve": false
    }
}

Options

Option Description Type Default Value Proposals
chromeVersion The version of the Chrome to install. string none none, latest, 126
useChromeForTesting A flag to indicate if the Chrome for Testing or the default chrome should be used. boolean true true, false
chromeDownloadUrl Override Chrome download base URL. string <empty>
chromeVersionsUrl Override Chrome versions URL. string <empty>
chromeTestingVersionsUrl Override Chrome for Testing versions URL. string <empty>
firefoxVersion The version of the Firefox to install. string none none, latest, 128
firefoxDownloadUrl Override Firefox download base URL. string <empty>
firefoxVersionsUrl Override Firefox versions URL. string <empty>
firefoxVersionResolve If true, resolves partial Firefox versions (e.g. 142.0) to the highest available patch version (e.g. 142.0.3). boolean false true, false

Notes

System Compatibility

Debian, Ubuntu

Accessed Urls

Needs access to the following URL for downloading and resolving:

Old Chrome Versions

It seems Google deletes old packages from time to time. So if you use a fixed version, make sure to keep it updated.