Beispiel #1
0
 public new IWebElement FindElementByClassName(string className)
 {
     return(WrapElementIfRemote_(webElement_.FindElementByClassName(className)));
 }
Beispiel #2
0
 /// <summary>
 ///       Finds the first element in the page that matches the CSS Class supplied
 ///       </summary>
 /// <param name="className">CSS class name 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());
 ///       IWebElement elem = driver.FindElementByClassName("classname")
 ///       </code>
 /// </example>
 public IWebElement FindElementByClassName(string className)
 {
     return(DecoratedWebElement.FindElementByClassName(className));
 }