Hehe, I occasionally use a similar approach for visual regression testing: https://untested.sonnet.io/notes/visual-snapshot-tests-cheap...