Follow the same pageLoadStrategy changes as in Browsertime

This commit is contained in:
soulgalore 2020-01-28 19:34:11 +01:00
parent 38b29944e8
commit fd28a7a413
1 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ module.exports.parseCommandLine = function parseCommandLine() {
.option('browsertime.pageCompleteCheckPollTimeout', {
alias: 'pageCompleteCheckPollTimeout',
type: 'number',
default: 200,
default: 1500,
describe:
'The time in ms to wait for running the page complete check the next time.',
group: 'Browser'
@ -241,7 +241,7 @@ module.exports.parseCommandLine = function parseCommandLine() {
.option('browsertime.pageLoadStrategy', {
alias: 'pageLoadStrategy',
type: 'string',
default: 'normal',
default: 'none',
choices: ['eager', 'none', 'normal'],
describe:
'Set the strategy to waiting for document readiness after a navigation event. After the strategy is ready, your pageCompleteCheck will start running. This only work for Firefox and Chrome and please check which value each browser implements.',