I have a few tests in my suite, and the only way I can really verify that something is occuring the way it is supposed to, is by saving a screenshot of that specific element area and comparing it to another file.
I have custom implemented code that handles the actual comparison itself exactly how I want to.
The thing I'm having the most issue with is trying to figure out the best way to take a screenshot of the element I'm comparing. It is a div with a bunch of img's inside of it.
I basically want to be able to screenshot the div, with all of the img's inside it, and compare that screenshot to a predetermined image.
Any help pointing me in the right direction would be appreciated.