Asserts that the screenshot was taken