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(); }
private void FillUserName() { Driver.WaitForElementExist(By.XPath("//input[@id=\'signin_username\']"), 10); InputUsername.Clear(); InputUsername.SendKeys(Base.UserName); }