Skip to content

Commit

Permalink
Enable logging for WebPageReplay recording phase (#3999)
Browse files Browse the repository at this point in the history
* Add verbose logging to recording

* Add possible to enable Chromedriver log
  • Loading branch information
soulgalore authored Nov 3, 2023
1 parent ddfaabe commit 09c1ebb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions bin/browsertimeWebPageReplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 09c1ebb

Please sign in to comment.