Running chrome headless on linux without xorg

前端 未结 1 518
独厮守ぢ
独厮守ぢ 2021-01-12 05:24

Is it possible to install and run chrome headless on a headless Linux box without installing the audio and xorg dependencies?

If not, then is there a special headles

相关标签:
1条回答
  • 2021-01-12 05:48

    This troubleshooting doc on puppeteer should be of some help (https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md), it oultlines all the package necessary for running Chrome on a linux machine (more specifically for web servers).

    Depending on your end-goal, I wrote a service that provides access to headless Chrome at https://browserless.io. More or less treats Chrome in hosted fashion, so you don't have to try and get it running yourself, which is a time consuming process.

    In any case, hope one of those helps!

    0 讨论(0)
提交回复
热议问题