public static void SelectByVisibleText(By locator, string text) { _select = new SelectElement(GenericHelper.GetElement(locator)); _select.SelectByText(text); }
public static void SelectByIndex(By locator, int index) { _select = new SelectElement(GenericHelper.GetElement(locator)); _select.SelectByIndex(index); }
public static IWebElement GetGridHeaderElement(string gridXpath, int row, int column) { return(GenericHelper.IsElementPresentQuick( By.XPath(GetGridHeaderXpath(gridXpath, row, column))) ? GenericHelper.GetElement(By.XPath(GetGridHeaderXpath(gridXpath, row, column))) : null); }