예제 #1
0
 public new ReadOnlyCollection <IWebElement> FindElementsByName(string name)
 {
     return(new ReadOnlyCollection <IWebElement>(
                WrapElements_(webElement_.FindElementsByName(name))));
 }
예제 #2
0
 /// <summary>
 ///       Finds a list of elements that match the name supplied
 ///       </summary>
 /// <param name="name">Name of element</param>
 /// <returns>ReadOnlyCollect of IWebElement objects so that you can interact that object</returns>
 /// <example>
 ///   <code>
 ///       IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox());
 ///       ReadOnlyCollection<![CDATA[<IWebElement>]]> elem = driver.FindElementsByName("name")
 ///       </code>
 /// </example>
 public ReadOnlyCollection <IWebElement> FindElementsByName(string name)
 {
     return(DecoratedWebElement.FindElementsByName(name));
 }