alert cancel

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;

Subscribe to RSS - alert cancel

Comments