public void AuthenticateAsYahooUser() { Logger.Log("<-"); if (!IsElementExists(By.XPath("//*[@name='Yahoo!']"))) { Click(By.XPath("//*[@id='MoreOptions']/a")); } Click(By.XPath("//*[@name='Yahoo!']")); var user = new User { Type = UserType.Yahoo }; FillUserCredentials(user); Logger.Log(user.ToString()); SetUserInfoAndSubmit(user); Logger.Log("->"); }
private void LoginUser(User user) { Logger.Log("<-"); FillUserCredentials(user); Logger.Log(user.ToString()); SetUserInfoAndSubmit(user); AcceptSecurityWarning(); Logger.Log("->"); }
private void LoginUser(User user) { Logger.Log("<-"); Logger.Log(user.ToString()); SetUserInfoAndSubmit(user); AcceptSecurityWarning(); Logger.Log("->", LogType.MessageWithoutScreenshot); }