miyakogi / pyppeteer

Headless chrome/chromium automation library (unofficial port of puppeteer)
Other
3.56k stars 372 forks source link

add no-sandbox option to launch #261

Closed tsonglew closed 4 years ago

tsonglew commented 4 years ago

add no-sandbox option to launch to avoid

[1015/195510.670960:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

When running pyppeteer as root on Linux