public string GetWelcomeMessage()
 {
     return(Utilites.ElementExists(_driver, WelcomeMessage, 90) ?
            _driver.FindElement(WelcomeMessage).Text : "");
 }
 public string GetEmailError()
 {
     return(Utilites.ElementExists(_driver, emailError, 20) ?
            _driver.FindElement(emailError).Text : "");
 }
 public string GetAlertMessage()
 {
     return(Utilites.ElementExists(_driver, AlertMessage, 90) ?
            _driver.FindElement(AlertMessage).Text : "");
 }
Exemple #4
0
 public string GetUserNameError()
 {
     return(Utilites.ElementExists(_driver, UserNameError, 90) ?
            _driver.FindElement(UserNameError).Text : "");
 }