public static void CompareText(WebDriverWait wait, By locator, string compareText) => Assert.That(WaitHelpers.WaitPresentElement(locator, wait).Text, Does.Contain(compareText));
 public static void SelectAllValues(WebDriverWait wait, By locator) => WaitHelpers.WaitClicableElement(locator, wait).SendKeys(Keys.Control + "a");
 public static void PressDown(WebDriverWait wait, By locator) => WaitHelpers.WaitClicableElement(locator, wait).SendKeys(Keys.Down);
Exemple #4
0
 public static void SelectDropDownValueByText(By locator, string text, WebDriverWait wait) => new SelectElement(WaitHelpers.WaitPresentElement(locator, wait)).SelectByText(text);