コード例 #1
0
        protected override void Login()
        {
            using (KeePassService.Open())
            {
                //change to username login
                Browser.FindElement(By.Id("tab-benutzer")).Click();

                //type username
                Browser.FindElement(new ByIdOrName("loginform:LOGINNAME")).SendKeys(KeePassEntry.GetUserName());

                //type password
                Browser.FindElement(new ByIdOrName("loginform:LOGINPASSWD")).SendKeys(KeePassEntry.GetPassword());

                //check pass
                Browser.FindElement(new ByIdOrName("loginform:checkPasswort")).Click();

                //type pin
                Browser.FindElement(new ByIdOrName("loginpinform:PIN"))
                .SendKeys(KeePassEntry.GetString(Configuration.AdditionalKeePassFields[Constants.DownloadHandler.RaiffeisenPin]));

                //final login
                Browser.FindElement(new ByIdOrName("loginpinform:anmeldenPIN")).Click();

                Browser.FindElement(By.LinkText("Jetzt Mein ELBA starten")).Click();
            }
        }
コード例 #2
0
 protected override void Login()
 {
     using (KeePassService.Open())
     {
         Browser.FindElement(By.Name("login_email")).SendKeys(KeePassEntry.GetUserName());
         Browser.FindElement(By.Name("login_password")).SendKeys(KeePassEntry.GetPassword());
         Browser.FindElement(By.Name("btnLogin")).Click();
     }
 }
コード例 #3
0
        protected override void Login()
        {
            using (KeePassService.Open())
            {
                Browser.FindElement(By.Id("loginInputSelector")).SendKeys(KeePassEntry.GetUserName());
                Browser.FindElement(By.Id("pinInputSelector")).SendKeys(KeePassEntry.GetPassword());

                Browser.FindElement(By.Id("login")).Submit();
            }
        }
コード例 #4
0
 protected override void Login()
 {
     using (KeePassService.Open())
     {
         Browser.FindElement(By.Id("loginForm_userId")).SendKeys(KeePassEntry.GetUserName());
         Browser.FindElement(By.Id("loginForm_pin")).SendKeys(KeePassEntry.GetPassword());
         Browser.WaitForJavaScript();
         //Browser.FindElement(By.Id("loginFormData_loginForm")).Submit();
         Browser.FindElement(By.Id("loginForm_loginButton")).Click();
     }
 }
コード例 #5
0
 protected override void Login()
 {
     using (KeePassService.Open())
     {
         Browser.FindElement(By.Id("logon-username")).SendKeys(KeePassEntry.GetUserName());
         Browser.WaitForJavaScript();
         Browser.FindElement(By.Id("logon-password")).SendKeys(KeePassEntry.GetPassword());
         Browser.WaitForJavaScript();
         Browser.FindElement(By.XPath("//button[@type='submit']")).Click();
     }
 }
コード例 #6
0
        protected override void Login()
        {
            using (KeePassService.Open())
            {
                Browser.WaitForJavaScript();
                Browser.FindElement(By.Name("email"))
                .SendKeys(KeePassEntry.GetUserName());
                Browser.FindElement(By.Name("password"))
                .SendKeys(KeePassEntry.GetPassword());

                Browser.FindElement(new ByAll(By.TagName("a"), By.ClassName("login"))).Click();
            }
        }
コード例 #7
0
        protected override void Login()
        {
            using (KeePassService.Open())
            {
                Browser.FindElement(new ByChained(By.Id("eserviceLogin"), new ByIdOrName("disposerId")))
                .SendKeys(KeePassEntry.GetUserName());
                Browser.FindElement(new ByChained(By.Id("eserviceLogin"), new ByIdOrName("birthdate")))
                .SendKeys(KeePassEntry.GetString(Configuration.AdditionalKeePassFields[Constants.DownloadHandler.SantanderBirthday]));
                Browser.FindElement(new ByChained(By.Id("eserviceLogin"), new ByIdOrName("password")))
                .SendKeys(KeePassEntry.GetPassword());

                Browser.FindElement(new ByChained(By.Id("eserviceLogin"), new ByIdOrName("submitButton"))).Click();
            }
        }