We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd7b31 commit 1e1478cCopy full SHA for 1e1478c
puppeteer/browser/launch.js
@@ -37,10 +37,12 @@ module.exports = function (RED) {
37
});
38
39
// Launch a new browser with node's config
40
+ var launchArgs = nodeConfig.arguments.split(',') || []
41
+ launchArgs.push(`--remote-debugging-port=${nodeConfig.debugport}`)
42
msg.puppeteer = {
43
browser: await puppeteer.launch({
44
...nodeConfig,
- args: [`--remote-debugging-port=${nodeConfig.debugport}`],
45
+ args: launchArgs,
46
}),
47
};
48
// Browser launched sucessfully
0 commit comments