It would be quite useful for some tests to be able to resize the viewport via JavaScript so that they can include all of their content on the pixel results.