Esempio n. 1
0
        public static IWebElement FindElementByAndroidUIAutomator(this AndroidDriver driver, string selector, int timeoutSecs)
        {
            driver.SetTimeout(timeoutSecs);
            var element = driver.FindElementWithMethod(new Func <string, IWebElement>(driver.FindElementByAndroidUIAutomator), selector);

            driver.SetDefaultWait();
            return(element);
        }