public void DisplayAlertBox() { AlertBox.Click(); IAlert alert = _driver.SwitchTo().Alert(); alert.Dismiss(); }