/// <summary> /// Finds a list of elements that match the name supplied /// </summary> /// <param name="name">Name of the element on the page</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <AppiumWebElement> FindElementsByName(string name) { return(CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(base.FindElementsByName(name))); }
/// <summary> /// Finds a list of elements that match the CSS selector /// </summary> /// <param name="cssSelector">The CSS selector to match</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <AppiumWebElement> FindElementsByCssSelector(string cssSelector) { return(CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(base.FindElementsByCssSelector(cssSelector))); }
/// <summary> /// Finds a list of elements that match the link text supplied /// </summary> /// <param name="linkText">Link text of element</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <AppiumWebElement> FindElementsByLinkText(string linkText) { return(CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(base.FindElementsByLinkText(linkText))); }
public ReadOnlyCollection <AppiumWebElement> FindElementsByAccessibilityId(string selector) { return(CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(this.FindElements("accessibility id", selector))); }
/// <summary> /// Find the elements on the page by using the <see cref="T:OpenQA.Selenium.By"/> object and returns a ReadonlyCollection of the Elements on the page /// </summary> /// <param name="by">Mechanism to find element</param> /// <returns>ReadOnlyCollection of elements found</returns public new ReadOnlyCollection <AppiumWebElement> FindElements(By by) { return(CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(base.FindElements(by))); }
/// <summary> /// Finds a list of elements that match the DOM Tag supplied /// </summary> /// <param name="tagName">DOM tag name of the element being searched</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <AppiumWebElement> FindElementsByTagName(string tagName) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(base.FindElementsByTagName(tagName));
/// <summary> /// Finds a list of elements that match the XPath supplied /// </summary> /// <param name="xpath">xpath to the element</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <AppiumWebElement> FindElementsByXPath(string xpath) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(base.FindElementsByXPath(xpath));
/// <summary> /// Finds a list of elements that match the ID supplied /// </summary> /// <param name="id">ID of the element</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <AppiumWebElement> FindElementsById(string id) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(base.FindElementsById(id));
/// <summary> /// Finds a list of elements that match the part of the link text supplied /// </summary> /// <param name="partialLinkText">Part of the link text</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <AppiumWebElement> FindElementsByPartialLinkText(string partialLinkText) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <AppiumWebElement>(base.FindElementsByPartialLinkText(partialLinkText));
/// <summary> /// Finds a list of elements that match the accessibillity id supplied /// </summary> /// <param name="selector">accessibility id</param> /// <returns>ReadOnlyCollection of elements found</returns> public ReadOnlyCollection <W> FindElementsByAccessibilityId(string selector) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <W>(FindElements("accessibility id", selector));
/// <summary> /// Finds a list of elements that match the name supplied /// </summary> /// <param name="name">Name of the element on the page</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <W> FindElementsByName(string name) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <W>(base.FindElementsByName(name));
/// <summary> /// Finds a list of elements that match the link text supplied /// </summary> /// <param name="linkText">Link text of element</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <W> FindElementsByLinkText(string linkText) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <W>(base.FindElementsByLinkText(linkText));
/// <summary> /// Finds a list of elements that match the CSS selector /// </summary> /// <param name="cssSelector">The CSS selector to match</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <W> FindElementsByCssSelector(string cssSelector) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <W>(base.FindElementsByCssSelector(cssSelector));
/// <summary> /// Find the elements on the page by using the <see cref="T:OpenQA.Selenium.By"/> object and returns a ReadonlyCollection of the Elements on the page /// </summary> /// <param name="by">Mechanism to find element</param> /// <returns>ReadOnlyCollection of elements found</returns> public new ReadOnlyCollection <W> FindElements(By by) => CollectionConverterUnility. ConvertToExtendedWebElementCollection <W>(base.FindElements(by));