Exemple #1
0
 public new ReadOnlyCollection <IWebElement> FindElementsById(string id)
 {
     return(new ReadOnlyCollection <IWebElement>(
                WrapElements_(webElement_.FindElementsById(id))));
 }
Exemple #2
0
 /// <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));
 }