public void RegisterUserInvalidEmailError() { driver.Navigate().GoToUrl(baseUrl + users.getRegisterUrl()); Assert.True(users.InvalidEmailError("fsfsf12121").Equals("The Email field is not a valid e-mail address.")); }