Exemple #1
0
 public static string Xpath(this OpenQA.Selenium.By by)
 => by.ToString().Substring("By.XPath: ".Length);
Exemple #2
0
 public static bool IsXpath(this OpenQA.Selenium.By by)
 => by != null && by.ToString().StartsWith("By.XPath: ");