I would not suggest to use image comparison because exist much more fast and easiest way to get precise results. Automotion framework is a powerful tool for visual testing. It works using calculation, without css or image comparison. Works super fast https://github.com/ITArray/Automotion - here is on GitHub with examples of how to use it.[![enter image description here][1]][1] [1]: https://i.sstatic.net/WFLJS.jpg