Adding missing group for a couple of Browsertime cli params (#2113)

This commit is contained in:
Peter Hedenskog 2018-07-24 22:06:40 +02:00 committed by GitHub
parent 78b1d84cec
commit 2e3bb0fc7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -138,7 +138,8 @@ module.exports.parseCommandLine = function parseCommandLine() {
.option('browsertime.preURL', {
alias: 'preURL',
describe:
'A URL that will be accessed first by the browser before the URL that you wanna analyze. Use it to fill the cache.'
'A URL that will be accessed first by the browser before the URL that you wanna analyze. Use it to fill the cache.',
group: 'Browser'
})
.option('browsertime.preScript', {
alias: 'preScript',
@ -321,6 +322,7 @@ module.exports.parseCommandLine = function parseCommandLine() {
})
.option('browsertime.cookie', {
alias: ['cookie'],
group: 'Browser',
describe:
'Cookie that will be added to the request. Add multiple instances to add multiple cookies. Use the following format cookieName=cookieValue'
})
@ -352,6 +354,7 @@ module.exports.parseCommandLine = function parseCommandLine() {
alias: 'headless',
type: 'boolean',
default: false,
group: 'Browser',
describe:
'Run the browser in headless mode. This is the browser internal headless mode, meaning you cannot collect Visual Metrics or in Chrome run any WebExtension (this means you cannot add cookies, requestheaders or use basic auth for headless Chrome).'
})