Skip to main content
Downloads Chromium-based browsers used to automate Android webviews during test runs. chromium is required for webview automation; the other options are available for parity with the web CLI.
npx momentic-mobile install-browsers chromium

Arguments

[browsers...]
array
Browsers to install, separated by spaces. Available choices: chromium, chrome, and chrome-for-testing.

Options

-f, --force
boolean
Reinstall the specified browsers even if they already exist on disk.
-a, --all
boolean
Install every supported browser (chromium, chrome, and chrome-for-testing).

Examples

Install the Chromium browser required to automate Android webviews:
npx momentic-mobile install-browsers chromium
Install every supported browser at once:
npx momentic-mobile install-browsers --all
Reinstall Chromium after a broken upgrade:
npx momentic-mobile install-browsers chromium --force