public static string GetMessageTitle(RemoteWebDriver selenium, MessageModalProxy modal)
 {
     Title = modal.Element.FindElement(By.ClassName("modal-title")).Text;
     return(Title);
 }
 public static string GetMessageText(RemoteWebDriver selenium, MessageModalProxy modal)
 {
     Message = modal.Element.FindElement(By.ClassName("text-warning")).Text;
     return(Message);
 }