public static void AssertErrorMessageForEmptyEmailField(this ManageAccount page, string text)
 {
     Assert.IsTrue(page.ErrorMessageIncorrectPasswordChange.Displayed);
     Assert.AreEqual(text, page.ErrorMessageIncorrectPasswordChange.Text);
 }
 public static void AssertSuccessfulPasswordChange(this ManageAccount page, string text)
 {
     Assert.IsTrue(page.SuccessfulPasswordChange.Displayed);
     Assert.AreEqual(text, page.SuccessfulPasswordChange.Text);
 }