Example #1
0
 /// <summary>
 /// Does registration using given email, password and password confirm.
 /// </summary>
 /// <param name="email"></param>
 /// <param name="password"></param>
 /// <param name="passwordConfirm"></param>
 /// <returns></returns>
 public IndexPage Registration(string email, string password, string passwordConfirm)
 {
     EmailInput.SendKeys(email);
     PasswordInput.SendKeys(password);
     PasswordConfirmInput.SendKeys(passwordConfirm);
     WaitWhileNotClickableWebElement(RegistrationButton);
     RegistrationButton.Click();
     return(ConstructPage <IndexPage>());
 }
 /// <summary>Set text into password confirm field</summary>
 public void SetPasswordConfirmInput(string text)
 {
     PasswordConfirmInput.SendKeys(text);
 }