خرید بک لینک

Vote count: 0

I'm having problem with Selenium driver, because it freezes my form which contains crucial data for the rest of the task.

Here is part of the code where problem occurs :

            element.SendKeys(OpenQA.Selenium.Keys.Enter);
            SendKeys.Send("{TAB}");
            driver.Manage().Timeouts().SetScriptTimeout(TimeSpan.FromSeconds(15));
            MainForm FormN = new MainForm();
            FormN.Show();

It freezes here and it skips PerformClick(); action and proceeds to "FindElement(By.Id..."

            FormN.btnCopy.PerformClick();
            FormN.Close();
            driver.FindElement(By.Id("twofactorcode_entry")).Click();

I already tried : async, sleep, ImplicitlyWait etc.

Note : When driver finished the task, then form loads normally.

asked 44 secs ago

برچسب: selenium chromedriver,selenium certification,selenium cancer,selenium c,selenium css selector,selenium conference 2016,selenium commands,selenium cucumber,selenium click button,selenium crystals, نویسنده: استخدام کار تاريخ: پنجشنبه 21 مرداد 1395 ساعت: 3:31

صفحه بندی