Skip to content

Commit

Permalink
docs(troubleshooting): Adding Travis CI mention (#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Gaunt authored and aslushnikov committed Apr 9, 2018
1 parent 717d4a7 commit a052b9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/troubleshooting.md
Expand Up @@ -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

Expand Down

0 comments on commit a052b9e

Please sign in to comment.