public void InputDateTime(string Tvalue, string Target = null, string sType = null) { //Get element element = JElement.GetDateTimeElement(driver, Target, Tvalue, sType); //Set time ((IJavaScriptExecutor)driver).ExecuteScript("arguments[0].value ='" + Tvalue + "' ", element); }