Photographer photographer = new Photographer(driver, screenshotDirectory,screenshotProcessor);
File screenshotFile = photographer.takeScreenshot().get();
waitUntilFileIsWritten(screenshotFile);
ResizableImage image = ResizableImage.loadFrom(screenshotFile);
screenshotProcessor.terminate();
waitUntilFileIsWritten(screenshotFile);
assertThat(image.getWitdh(), is(greaterThan(350))); // In Windows the actual dimensions may be are slightly less
}