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
{{ message }}
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
feat(puppeteer): Add option to override the Chromium executable (#21)
The --puppeteer-executable-path option will be passed through to Puppeteer as the 'executablePath',
allowing you to run a different version of Chromium than the one downloaded by Puppeteer.
*Note: Because Puppeteer args are prefixed with hyphens, you **must** use an equals sign and quotes when providing this option via the command line (as seen above).*
112
112
113
+
### Chromium executable
114
+
115
+
If you'd like to override the Chromium used by Puppeteer, you can provide a path to the executable with the `puppeteer-executable-path` option.
Copy file name to clipboardExpand all lines: bin/cli.js
+9-1
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,10 @@ require('yargs')
51
51
'puppeteer-args': {
52
52
type: 'string',
53
53
describe: 'Set of command line arguments to be provided to the Chromium instance via Puppeteer, e.g. --puppeteer-args="--no-sandbox --disable-setuid-sandbox"'
54
+
},
55
+
'puppeteer-executable-path': {
56
+
type: 'string',
57
+
describe: 'Path to a Chromium executable to use instead of the one downloaded by Puppeteer.'
0 commit comments