puppeteer-cluster icon indicating copy to clipboard operation
puppeteer-cluster copied to clipboard

Headless=chrome command line option fails

Open hackvertor opened this issue 2 years ago • 0 comments

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?

hackvertor avatar Sep 28 '22 08:09 hackvertor