public static IWebElement FindElementByPredicateString(this AppDriver appDriver, string value) { return(appDriver.FindElement(AppDriver.PredicateString, value)); }
public static IWebElement FindElementByClassChain(this AppDriver appDriver, string value) { return(appDriver.FindElement(AppDriver.ClassChain, value)); }
/// <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}']"))); }