Enable logging for WebPageReplay recording phase (#3999)

* Add verbose logging to recording

* Add possible to enable Chromedriver log
This commit is contained in:
Peter Hedenskog 2023-11-03 09:58:40 +01:00 committed by GitHub
parent ddfaabec16
commit 09c1ebb60c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -123,6 +123,23 @@ async function runBrowsertime() {
describe:
'Short key to use Android. Will automatically use com.android.chrome for Chrome and stable Firefox. If you want to use another Chrome version, use --chrome.android.package'
})
.option('chrome.enableChromeDriverLog', {
describe: 'Log Chromedriver communication to a log file.',
type: 'boolean',
group: 'chrome'
})
.option('chrome.enableVerboseChromeDriverLog', {
describe: 'Log verboose Chromedriver communication to a log file.',
type: 'boolean',
group: 'chrome'
})
.option('verbose', {
alias: ['v'],
describe:
'Verbose mode prints progress messages to the console. Enter up to three times (-vvv)' +
' to increase the level of detail.',
type: 'count'
})
.config(config);
const defaultConfig = {