cli: add pageCompleteCheckNetworkIdle
This commit is contained in:
parent
259ccf952e
commit
e0f4c50341
|
|
@ -387,6 +387,14 @@ export async function parseCommandLine() {
|
|||
'The time in ms to wait for running the page complete check for the first time. Use this when you have a pageLoadStrategy set to none',
|
||||
group: 'Browser'
|
||||
})
|
||||
.option('browsertime.pageCompleteCheckNetworkIdle', {
|
||||
alias: 'pageCompleteCheckNetworkIdle',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
describe:
|
||||
'Use the network log instead of running JavaScript to decide when to end the test. This will wait for 5 seconds of no network activity before it ends the test. This can be used with Chrome/Edge and Firefox.',
|
||||
group: 'Browser'
|
||||
})
|
||||
.option('browsertime.pageLoadStrategy', {
|
||||
alias: 'pageLoadStrategy',
|
||||
type: 'string',
|
||||
|
|
|
|||
Loading…
Reference in New Issue