diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 0f8c55b9aea..9b4ccc895bd 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -92,6 +92,13 @@ xorg-x11-fonts-misc ```js const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']}); ``` +## Running Puppeteer on Travis CI + +To run headless Chrome on Travis, you *must* call `launch()` with flags to disable Chrome's sandbox, like so: + +```js +const browser = await puppeteer.launch({args: ['--no-sandbox']}); +``` ## Running Puppeteer in Docker