Hacker News new | comments | show | ask | jobs | submit login

Xvfb is way harder to setup. Also, I assume it uses less ressources so it scales better.

I use xvfb-run on Debian and it's a breeze:

    xvfb-run -s '-screen 0 1280x1024x8' ./cucumber
Or are you using more advanced Xvfb features, or perhaps running inside containers?

Yes, I assume that the drawing process may be different. However, it's probably still possible to take a screenshot.

I would like to know what sort of performance differential I can expect.

Screenshot functionality is, in fact, advertised in the linked article.

xvfb can be a bit tough to setup, but Selenium's Docker images make this a breeze, and they even have a debug mode with automatic VNC.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact