A list of headless web browsers
It's obviously not a headless browser but xvfb can be very useful depending on what exactly one is trying to test: <a href="https://en.wikipedia.org/wiki/Xvfb" rel="nofollow">https://en.wikipedia.org/wiki/Xvfb</a>