Add default Firefox setup on Android and WebPageReplay. (#3788)

This commit is contained in:
Peter Hedenskog 2023-03-15 19:09:27 +01:00 committed by GitHub
parent 87b1a1c856
commit 560765ddfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -178,6 +178,13 @@ async function runBrowsertime() {
get(btOptions, 'chrome.android.package', 'com.android.chrome')
);
}
else if (parsed.argv.browser === 'firefox') {
set(
btOptions,
'firefox.android.package',
get(btOptions, 'firefox.android.package', 'org.mozilla.firefox')
);
}
}
const engine = new BrowsertimeEngine(btOptions);
const urls = getURLs(parsed.argv._);