accept a prompt using selenium

Alert alert = wait.until(alertIsPresent());
alert.accept();

No images available.