chrome-launcher
chrome-launcher copied to clipboard
crash when launch with remote debugging pipe
Test Code:
const ChromeLauncher = require('chrome-launcher');
ChromeLauncher.launch({
startingUrl: 'https://google.com/',
chromeFlags: ["--remote-debugging-pipe"]
}).then(() => {
console.log(success
);
});
Here is the output of the result.
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
Error: connect ECONNREFUSED 127.0.0.1:3399 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3399 }
Process finished with exit code 1