public SignUpPage FillEmail(string email) { EmailInputField.Click(); EmailInputField.Clear(); EmailInputField.SendKeys(email); 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 email input with the data provided. /// </summary> /// <param name="data"></param> public void FillEmailWithData(string data) { EmailInputField.Clear(); EmailInputField.SendKeys(data); }