mantoni / mochify.js

☕️ TDD with Browserify, Mocha, Headless Chrome and WebDriver
MIT License
346 stars 57 forks source link

Added a flag to allow chrome to run as root #163

Closed fearphage closed 6 years ago

fearphage commented 6 years ago

See https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#chrome-headless-fails-due-to-sandbox-issues

This passes the mentioned flags above to chrome: --no-sandbox --disable-setuid-sandbox.

These are required to run Chrome as the root user. This fixes #162.

mantoni commented 6 years ago

Released in v5.1.0. Thank you for the PR 🚀