public void SetUpForEverySingleTestMethod() { Driver = GetChromeDriver(); TheTestLoginUser = new TestLoginUser(); TheTestLoginUser.Username = "******"; TheTestLoginUser.Password = "******"; }
internal HomePage FillOutFormAndLogin(TestLoginUser user) { UsernameField.SendKeys(user.Username); PasswordField.SendKeys(user.Password); LoginButton.Submit(); return(new HomePage(Driver)); }