Hacker News new | ask | show | jobs
by killing_time 3668 days ago
I use the Chrome and Firefox docker-selenium containers in Testcontainers [1][2], my project for running containers to support JUnit tests.

I created this after numerous issues with PhantomJS compatibility and debuggability; Testcontainers instead uses the real browsers, and also offers automatic video recording of test sessions and VNC access for debugging.

Headless chrome support sounds like a good step forward, but if visibility into what's going on is limited then I feel there's going to be some way to go. Perhaps chrome remote debugging support?

[1]: http://testcontainers.viewdocs.io/testcontainers-java/ [2]: https://rnorth.org/26/better-junit-selenium-testing-with-doc...

2 comments

Thanks for noticing, I upgraded the "Alternatives" section at https://github.com/elgalu/docker-selenium#alternatives
Just because it is headless doesn't mean it can't render to a serializable format (like a pdf)