Example #1
0
 public void OpenAlert_AppearAfter5Seconds()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var alertsPage = new AlertsPage(driver);
         alertsPage.LoadPage();
         alertsPage.OpenAlert_AppearAfter5Seconds();
     }
 }
Example #2
0
 public void OpenAlert_PromptBoxWillAppear()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var alertsPage = new AlertsPage(driver);
         alertsPage.LoadPage();
         alertsPage.OpenAlert_PromptBoxWillAppear();
     }
 }
Example #3
0
 public void OpenAlert_ClickButtonToSeeAlert()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var alertsPage = new AlertsPage(driver);
         alertsPage.LoadPage();
         alertsPage.OpenAlert_ClickButtonToSeeAlert();
     }
 }