How to handle conformation prompt dialog box using selenium webdriver ? package SeleniumLearn.Com; import org.testng.annotations.Test; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.BeforeTest; public class ConformationAlertCanel { public WebDriver driver; Read more about How to handle conformation prompt dialog box using selenium webdriver ?