public RegistrationPage FillForm(string email, string fullName, string password, string cpassword) { EmailInput.Clear(); EmailInput.Set(email); FullNameInput.Clear(); FullNameInput.Set(fullName); PasswordInput.Clear(); PasswordInput.Set(password); ConfirmPasswordInput.Clear(); ConfirmPasswordInput.Set(cpassword); return(this); }
public RegistrationPage FillForm(User user) { EmailInput.Clear(); EmailInput.Set(user.Email.Value); FullNameInput.Clear(); FullNameInput.Set(user.FullName); PasswordInput.Clear(); PasswordInput.Set(user.Password); ConfirmPasswordInput.Clear(); ConfirmPasswordInput.Set(user.Password); return(this); }