public static IWebElement GetValidXpath(IWebDriver driver, string Tvalue, string Target) { JWait.WaitForAjaxComplete(driver, 30); string sXpath = JXpath.Valid(Tvalue, Target); return(element = JFind.XPath(driver, sXpath)); }
public static IWebElement GetDateTimeElement(IWebDriver driver, string Target, string Tvalue, string sType) { JWait.WaitForAjaxComplete(driver, 30); string sXpath = JXpath.DateTimeInput(Target, Tvalue, sType); return(element = JFind.XPath(driver, sXpath)); }
public static IWebElement GetDirectionElement(IWebDriver driver, string Tvalue) { JWait.WaitForAjaxComplete(driver, 30); string sXpath = JXpath.DirectionButton(Tvalue); return(element = JFind.XPath(driver, sXpath)); }
public static IWebElement GetSelectElement(IWebDriver driver, string Tvalue, string Target) { JWait.WaitForAjaxComplete(driver, 30); string sXpath = JXpath.Select(Target, Tvalue); return(element = JFind.XPath(driver, sXpath)); }