public void RegisterUserPasswordMatchError() { driver.Navigate().GoToUrl(baseUrl + users.getRegisterUrl()); Assert.True(users.PasswordMatchError("1234", "123").Equals( "The password and confirmation password do not match.")); }