We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1248c7f commit b23b3bdCopy full SHA for b23b3bd
lib/chromium.js
@@ -62,6 +62,9 @@ module.exports = function (b, opts) {
62
63
if (opts.chrome) {
64
options.executablePath = opts.chrome;
65
+ } else if (process.env.PUPPETEER_EXECUTABLE_PATH) {
66
+ // Workaround for https://github.com/puppeteer/puppeteer/issues/6957
67
+ options.executablePath = process.env.PUPPETEER_EXECUTABLE_PATH;
68
}
69
70
0 commit comments