public static Func <IWebDriver, bool> ElementToBeSelected(By locator) { return(ExpectedConditions.ElementSelectionStateToBe(locator, true)); }
public static Func <IWebDriver, bool> ElementToBeSelected(IWebElement element) { return(ExpectedConditions.ElementSelectionStateToBe(element, true)); }