Ejemplo n.º 1
0
 public static IWebElement FindElementByPredicateString(this AppDriver appDriver, string value)
 {
     return(appDriver.FindElement(AppDriver.PredicateString, value));
 }
Ejemplo n.º 2
0
 public static IWebElement FindElementByClassChain(this AppDriver appDriver, string value)
 {
     return(appDriver.FindElement(AppDriver.ClassChain, value));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Finds an element based on the marked meta tag. An element corresponds to the marked meta tag if the text property or the element id equals the tag value.
 /// </summary>
 /// <param name="appDriver">
 /// The <see cref="AppDriver"/> on which to executor the command.
 /// </param>
 /// <param name="marked">
 /// The marked meta tag.
 /// </param>
 /// <returns>
 /// The element matching the marked meta tag.
 /// </returns>
 public static IWebElement FindElementByMarked(this AppDriver appDriver, string marked)
 {
     return(appDriver.FindElement(By.XPath($"*[@marked='{marked}']")));
 }