public static IList <IWebElement> FindElementsByIosUIAutomation(this IOSDriver driver, string selector, int timeoutSecs) { driver.SetTimeout(timeoutSecs); var elements = driver.FindElementsWithMethod(new Func <string, IList <IWebElement> >(driver.FindElementsByIosUIAutomation), selector); driver.SetDefaultWait(); return(elements); }