public new ReadOnlyCollection <IWebElement> FindElementsById(string id) { return(new ReadOnlyCollection <IWebElement>( WrapElements_(webElement_.FindElementsById(id)))); }
/// <summary> /// Finds the first element in the page that matches the ID supplied /// </summary> /// <param name="id">ID of the Element</param> /// <returns>ReadOnlyCollection of Elements that match the object so that you can interact that object</returns> /// <example> /// <code> /// IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); /// ReadOnlyCollection<![CDATA[<IWebElement>]]> elem = driver.FindElementsById("id") /// </code> /// </example> public ReadOnlyCollection <IWebElement> FindElementsById(string id) { return(DecoratedWebElement.FindElementsById(id)); }