/// <summary> /// This method defines determines type password /// </summary> /// <param name="password"></param> /// <returns>passwordInput</returns> private IWebElement TypePassword(string password) { PasswordInput = FindElement(passwordLocator); PasswordInput.Click(); PasswordInput.SendKeys(password + Keys.Enter); return(PasswordInput); }
private IWebElement TypePassword(string password) { Wait.Until(t => WebDriver.FindElement(By.Id("mailbox:password")).Displayed); PasswordInput = WebDriver.FindElement(By.Id("mailbox:password")); PasswordInput.Click(); PasswordInput.SendKeys(password + Keys.Enter); return(PasswordInput); }
public void LogIn(string username, string password) { PopupLoginWindow.Click(); UserNameInput.Click(); UserNameInput.Clear(); UserNameInput.SendKeys(username); PasswordInput.Click(); PasswordInput.Clear(); PasswordInput.SendKeys(password); SubmitButton.Click(); }
public void InputPassword(string password) { PasswordInput.Click(); PasswordInput.Clear(); PasswordInput.SendKeys(password); }
public void ClickOnPasswordInput() { PasswordInput.Click(); }