private void FillPasswordForm(string url, AccountData account) { driver.Url = url; driver.FindElement(By.Name("password")).SendKeys(account.Password); driver.FindElement(By.Name("password_confirm")).SendKeys(account.Password); }
private void FillRegForm(AccountData account) { driver.FindElement(By.Name("username")).SendKeys(account.Name); driver.FindElement(By.Name("email")).SendKeys(account.email); }