Re:Chrome 59 has cross-platform headless support
by vvoyer on Thursday April 13, 2017 @05:22AM
(#14105384)
Thanks, also did not quite understood what exactly was headless_shell: how to run it, pro/cons, when to use it versus chrome headless.
Re:Chrome 59 has cross-platform headless support
by swah on Friday April 14, 2017 @07:59AM
(#14113930)
The documentation seems to be the source at this moment: https://chromium.googlesource.com/chromium/src/+/lkgr/headle...
Its a binary that I suppose runs the Chrome in headless mode, supports some command line options like --screenshot to take screenshots, etc.
I'm having a hard time understanding why its hanging on some runs, and how --timeout and --virtual-time-budget could help me with this.
This is the internal API that DevTools uses, and is what is referred to as the "Chrome Debugging Protocol" (ie, chromedp). Since 57+, the built in DevTools UI displays whatever the active viewport Chrome "sees" using the screencast APIs. It's just a PNG that's updated every couple hundred milliseconds with the output of Chrome's headless renderer.