News for hackers. Stuff that matters.
Re:Show HN: Diff.io by stephentmcm on Monday June 01, 2015 @11:38PM (#9643700)
I've half built a tool to do this using PhantomJS, and a really half-baked API. The image grab part is easy. The diffing is what's hard... well sort of.

What I tried and what this site appears to do is a straight pixel change detection, which fails to account for how important that change is. Minor things change on a site all the time it's catching major breaking changes that's hard, say a CSS rule change that looks fine on desktop but ruins the site on mobile.

Re:Show HN: Diff.io by Kimitri on Monday June 01, 2015 @11:57PM (#9643755)
I've used CasperJS, PhantomCSS and PhantomJS for visual regression testing on dozens of Drupal sites and, while not a perfect solution by any means, it's worked pretty well. PhantomCSS seems to be pretty configurable and makes it rather easy to detect breaking changes.
Re:Show HN: Diff.io by stephentmcm on Tuesday June 02, 2015 @12:26AM (#9643861)
O nifty I hadn't seen PhantomCSS before.
Re:Show HN: Diff.io by koudelka on Tuesday June 02, 2015 @12:15AM (#9643815)
When I built something like this, I used http://wkhtmltopdf.org and http://pdiff.sourceforge.net.