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