コード例 #1
0
 public static Func <IWebDriver, bool> ElementToBeSelected(By locator)
 {
     return(ExpectedConditions.ElementSelectionStateToBe(locator, true));
 }
コード例 #2
0
 public static Func <IWebDriver, bool> ElementToBeSelected(IWebElement element)
 {
     return(ExpectedConditions.ElementSelectionStateToBe(element, true));
 }