public void RegisterUserPasswordLengthError() { driver.Navigate().GoToUrl(baseUrl + users.getRegisterUrl()); Assert.True(users.PasswordLengthError("123"). Equals("The Password must be at least 6 and at max 100 characters long.")); }