コード例 #1
0
 public static void CompareText(WebDriverWait wait, By locator, string compareText) => Assert.That(WaitHelpers.WaitPresentElement(locator, wait).Text, Does.Contain(compareText));
コード例 #2
0
 public static void SelectDropDownValueByText(By locator, string text, WebDriverWait wait) => new SelectElement(WaitHelpers.WaitPresentElement(locator, wait)).SelectByText(text);