Ejemplo n.º 1
0
        public static void WaitAndClickControl(IWebDriver webDriver, string type, string property, string value, string selectvalue)
        {
            GeneralPage genPage = new GeneralPage(webDriver);

            genPage.FindElement(By.XPath(string.Format("//{0}[contains({1},'{2}')]", type, property, value))).Click();
        }