diff --git a/lib/cli/cli.js b/lib/cli/cli.js index 655856e296..c20f457f96 100644 --- a/lib/cli/cli.js +++ b/lib/cli/cli.js @@ -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',