docs(troubleshooting): Adding Travis CI mention (#2334)
This commit is contained in:
parent
717d4a7ada
commit
a052b9e774
@ -92,6 +92,13 @@ xorg-x11-fonts-misc
|
|||||||
```js
|
```js
|
||||||
const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']});
|
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
|
## Running Puppeteer in Docker
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user