puppeteer-cluster
puppeteer-cluster copied to clipboard
Headless=chrome command line option fails
When using the puppeteer option headless=chrome (This is needed to be able to run extensions headlessly) puppeteer cluster fails to launch the browser process. This happens when the browser needs to respawned.
I get the exception: Error: Unable to launch browser for worker, error message: Failed to launch the browser process!
Failed to create SingletonLock: File exists (17)
If I remove the SingletonLock file the browser will launch but fails again whenever the browser needs to be respawned. Please can you help? How do I run puppeteer cluster with headless=chrome?