Bug 1054326: Initial attempt to submit Imagecompare test framework and test cases int...

...o the main branch
Can we rename this to `take_screenshot`? Also, make the comment a docstring for the method.