@Test
public void downloadAnImage() throws Exception {

    FileDownloader downloadTestFile = new FileDownloader(driver);
    driver.get("http://localhost:8081/downloadTest.html");
    WebElement image = driver.findElement(By.id("ebselenImage"));
    downloadTestFile.imageDownloader(image);
}