예제 #1
0
        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("->");
        }
예제 #2
0
 private void LoginUser(User user)
 {
     Logger.Log("<-");
     FillUserCredentials(user);
     Logger.Log(user.ToString());
     SetUserInfoAndSubmit(user);
     AcceptSecurityWarning();
     Logger.Log("->");
 }
예제 #3
0
 private void LoginUser(User user)
 {
     Logger.Log("<-");
     Logger.Log(user.ToString());
     SetUserInfoAndSubmit(user);
     AcceptSecurityWarning();
     Logger.Log("->", LogType.MessageWithoutScreenshot);
 }