2 ms·
It's a fork in the sense that it patches Chromium. More accurately difference is in this case the rendering happens by hooking a new capture device to the graph
by forgotpwd16 4y ago
It's a fork in the sense that it patches Chromium. More accurately difference is in this case the rendering happens by hooking a new capture device to the graphics library utilized by Chrome whereas browsh utilizes a webext which communicates with a background process (thus theoretically* could be browser-independent but currently only supports Firefox).
*Issue is Chrome doesn't support extensions in headless mode.
- niutech 4y agoThere is a workaround to headless mode with extensions - run Chrome in Xvfb and make screenshots using Chrome DevTools Protocol: `xvfb-run --server-args="-screen 0 1920x1080x24" google-chrome --remote-debugging-port=9222 --disable-gpu http://example.org http://example.org`