public void ResendEmailSuccess() { driver.Navigate().GoToUrl(baseUrl + baseUrl + users.getResendEmailUrl()); Assert.True(users.ResendEmailSuccessText("*****@*****.**"). Equals("Verification email sent. Please check your email.")); }