public new ReadOnlyCollection <IWebElement> FindElementsByTagName(string tagName) { return(new ReadOnlyCollection <IWebElement>( WrapElements_(webElement_.FindElementsByTagName(tagName)))); }
/// <summary> /// Finds a list of elements that match the DOM Tag supplied /// </summary> /// <param name="tagName">DOM Tag of the element on the page</param> /// <returns>IWebElement object so that you can interact that object</returns> /// <example> /// <code> /// IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); /// ReadOnlyCollection<![CDATA[<IWebElement>]]> elem = driver.FindElementsByTagName("tag") /// </code> /// </example> public ReadOnlyCollection <IWebElement> FindElementsByTagName(string tagName) { return(DecoratedWebElement.FindElementsByTagName(tagName)); }