public new ReadOnlyCollection <IWebElement> FindElementsByClassName(string className) { return(new ReadOnlyCollection <IWebElement>( WrapElements_(webElement_.FindElementsByClassName(className)))); }
/// <summary> /// Finds a list of elements that match the class name supplied /// </summary> /// <param name="className">CSS class name of the elements on the page</param> /// <returns>ReadOnlyCollection of IWebElement object so that you can interact with those objects</returns> /// <example> /// <code> /// IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); /// ReadOnlyCollection<![CDATA[<IWebElement>]]> elem = driver.FindElementsByClassName("classname") /// </code> /// </example> public ReadOnlyCollection <IWebElement> FindElementsByClassName(string className) { return(DecoratedWebElement.FindElementsByClassName(className)); }