You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cli: remove --select-chrome,--skip-autolaunch. Support CHROME_PATH env (#2659)
* --skip-autolaunch flag removed, --select-chrome flag removed
* Unused chrome-launcher/ask.ts removed
* Added support for CHROME_PATH env variable to replace LIGHTHOUSE_CHROMIUM_PATH
* CHROME_PATH env variable documented in CLI help
* Added support for CHROME_PATH on macOS
@@ -71,14 +71,15 @@ export function getFlags(manualArgv?: string) {
71
71
'Additional categories to capture with the trace (comma-delimited).',
72
72
'config-path': 'The path to the config JSON.',
73
73
'chrome-flags':
74
-
'Custom flags to pass to Chrome (space-delimited). For a full list of flags, see http://peter.sh/experiments/chromium-command-line-switches/.',
74
+
`Custom flags to pass to Chrome (space-delimited). For a full list of flags, see http://peter.sh/experiments/chromium-command-line-switches/.
75
+
76
+
Environment variables:
77
+
CHROME_PATH: Explicit path of intended Chrome binary. If set must point to an executable of a build of Chromium version 54.0 or later. By default, any detected Chrome Canary or Chrome (stable) will be launched.
78
+
`,
75
79
'perf': 'Use a performance-test-only configuration',
76
80
'port': 'The port to use for the debugging protocol. Use 0 for a random port',
77
81
'max-wait-for-load':
78
82
'The timeout (in milliseconds) to wait before the page is considered done loading and the run should continue. WARNING: Very high values can lead to large traces and instability',
79
-
'skip-autolaunch': 'Skip autolaunch of Chrome when already running instance is not found',
80
-
'select-chrome':
81
-
'Interactively choose version of Chrome to use when multiple installations are found',
82
83
'interactive': 'Open Lighthouse in interactive mode'
0 commit comments