/**
* Creates a new <code>{@link ScreenshotOnFailureListener}</code>.
*/
public ScreenshotOnFailureListener() {
try {
screenshotTaker = new ScreenshotTaker();
} catch (ImageException e) {
logger.log(SEVERE, "Unable to create ScreenshotTaker", e);
}
}