예제 #1
0
 public void TypeCredentials()
 {
     //Thread.Sleep(1000);
     driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
     InputUsername.SendKeys(email);
     NextBtn.Click();
     //Thread.Sleep(1000);
     driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
     InputPassword.SendKeys("Webapp!1");
     SignInBtn.Click();
 }
예제 #2
0
 private void FillUserName()
 {
     Driver.WaitForElementExist(By.XPath("//input[@id=\'signin_username\']"), 10);
     InputUsername.Clear();
     InputUsername.SendKeys(Base.UserName);
 }