Using WebPagReplay and --mobile didn't set mobile settings correctly (#2795)

This commit is contained in:
Peter Hedenskog 2019-11-20 14:45:09 -05:00 committed by GitHub
parent 5068e7ca24
commit ede15c602e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ async function runBrowsertime() {
const btOptions = merge({}, parsed.argv.browsertime, defaultConfig);
browsertime.logging.configure(parsed.argv);
if (btOptions.mobile) {
if (parsed.argv.mobile) {
btOptions.viewPort = '360x640';
if (btOptions.browser === 'chrome') {
const emulation = get(