示例#1
0
 public ReadOnlyCollection <AppiumWebElement> FindElementsByIosUIAutomation(string selector)
 {
     return(CollectionConverterUnility.
            ConvertToExtendedWebElementCollection <AppiumWebElement>(this.FindElements("-ios uiautomation", selector)));
 }
示例#2
0
 /// <summary>
 /// Finds a list of elements that match the iOS UIAutomation selector
 /// </summary>
 /// <param name="selector">UIAutomation selector</param>
 /// <returns>ReadOnlyCollection of elements found</returns>
 public ReadOnlyCollection <W> FindElementsByIosUIAutomation(string selector) =>
 CollectionConverterUnility.
 ConvertToExtendedWebElementCollection <W>(FindElements("-ios uiautomation", selector));
示例#3
0
 public ReadOnlyCollection <AppiumWebElement> FindElementsByAndroidUIAutomator(string selector)
 {
     return(CollectionConverterUnility.
            ConvertToExtendedWebElementCollection <AppiumWebElement>(this.FindElements("-android uiautomator", selector)));
 }
 /// <summary>
 /// Finds a list of elements that match the Windows UIAutomation selector supplied
 /// </summary>
 /// <param name="selector">a Windows UIAutomation selector</param>
 /// <returns>ReadOnlyCollection of IWebElement objects so that you can interact with those objects</returns>
 public ReadOnlyCollection <W> FindElementsByWindowsUIAutomation(string selector)
 {
     return(CollectionConverterUnility.ConvertToExtendedWebElementCollection <W>(
                this.FindElements("-windows uiautomation", selector)));
 }