public SignUpPage FillInPassword(string password) { PasswordInputField.Click(); PasswordInputField.Clear(); PasswordInputField.SendKeys(password); return(this); }
/// <summary> /// Clears the input fields, inputs data and clicks the login button. /// </summary> /// <param name="login"></param> /// <param name="password"></param> public void Authenticate(string login, string password) { EmailInputField.Clear(); EmailInputField.SendKeys(login); PasswordInputField.Clear(); PasswordInputField.SendKeys(password); LoginButton.Click(); }
/// <summary> /// Fills the password input with 'fakepass'. /// </summary> public void FillIncorrectEmail() { PasswordInputField.Clear(); PasswordInputField.SendKeys("fakepass"); }