added pageLoadStrategy on the cli
This commit is contained in:
parent
cc65dae331
commit
480db4441e
|
|
@ -158,6 +158,14 @@ module.exports.parseCommandLine = function parseCommandLine() {
|
|||
'Delay between runs, in milliseconds. Use it if your web server needs to rest between runs :)',
|
||||
group: 'Browser'
|
||||
})
|
||||
.option('browsertime.pageLoadStrategy', {
|
||||
alias: 'pageLoadStrategy',
|
||||
choices: ['normal', 'none'],
|
||||
default: 'none',
|
||||
describe:
|
||||
'The Page Load Strategy decides when you have control of the page load. Default is none meaning you will have control direct after navigation. That means that in a preTask that loads a page, you need to wait for the page to load.',
|
||||
group: 'Browser'
|
||||
})
|
||||
.option('browsertime.visualMetrics', {
|
||||
alias: ['visualMetrics', 'speedIndex'],
|
||||
type: 'boolean',
|
||||
|
|
|
|||
Loading…
Reference in New Issue