To use Puppeteer with a different version of Chrome or Chromium, pass in the executable’s path when creating a Browser instance: const browser = await puppeteer . launch({ executablePath: ‘/path/to/Chrome’ }); You can also use Puppeteer with Firefox Nightly (experimental support).
Read moreAre electrons headless?
Electron belongs to “Cross-Platform Desktop Development” category of the tech stack , while PhantomJS can be primarily classified under “Headless Browsers”. Some of the features offered by Electron are: Use HTML, CSS, and JavaScript with Chromium and Node. js to build your app.
Read moreDoes puppeteer work with electron?
You cannot use electron executable with Puppeteer directly without some workarounds and flag changes . They have tons of differences in the API. Specially electron doesn’t have all of the chrome.3 Eki 2019
Read more