Error: Failed to launch chrome!
Reported by
reddy.a...@gmail.com,
Dec 20
|
|
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Steps to reproduce the problem:
1. When I am trying to launch the headless browser in puppeteer i am seeing the error message as stated in what went wrong.
The code snippet:
browser = await puppeteer.launch({headless: false}, {args: ['--no-sandbox', '--disable-setuid-sandbox']});
page = await browser.newPage();
await page.setViewport({ width: 2500, height: 2500 })
What is the expected behavior?
I should able launch the headless browser and able ot execute the tests
What went wrong?
15:40:19 Error: Failed to launch chrome!
15:40:19 [1220/234018.696360:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
15:40:19
15:40:19
15:40:19 TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
15:40:19
Did this work before? N/A
Chrome version: 71.0.3578.98-1 Channel: stable
OS Version: Debian GNU/Linux 8 (jessie)
Flash Version:
|
|
►
Sign in to add a comment |
|
Comment 1 by susan.boorgula@chromium.org
, Dec 21Labels: Triaged-ET TE-NeedsTriageHelp Proj-Headless Needs-Triage-M71