Exemplo n.º 1
0
 public new IWebElement FindElementById(string id)
 {
     return(WrapElementIfRemote_(webElement_.FindElementById(id)));
 }
Exemplo n.º 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>IWebElement object so that you can interact with that object</returns>
 /// <example>
 ///   <code>
 ///       IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox());
 ///       IWebElement elem = driver.FindElementById("id")
 ///       </code>
 /// </example>
 public IWebElement FindElementById(string id)
 {
     return(DecoratedWebElement.FindElementById(id));
 }