cli: set which chromedriver to use

This commit is contained in:
soulgalore 2019-06-14 06:51:00 +02:00
parent 38f72c3cfb
commit 8c3c5f6460
1 changed files with 7 additions and 0 deletions

View File

@ -450,6 +450,13 @@ module.exports.parseCommandLine = function parseCommandLine() {
'e.g. "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"',
group: 'Chrome'
})
.option('browsertime.chrome.chromedriverPath', {
alias: 'chrome.chromedriverPath',
describe:
"Path to custom Chromedriver binary. Make sure to use a Chromedriver version that's compatible with " +
"the version of Chrome you're using",
group: 'Chrome'
})
.option('browsertime.chrome.cdp.performance', {
alias: 'chrome.cdp.performance',
type: 'boolean',