标签:drive action date() attr element get inter document att
JavascriptExecutor js1 = (JavascriptExecutor) driver; //处理时间弹出框选择时间
js1.executeScript("document.getElementById(‘wbinterviewdate‘).readOnly=false;");
//System.out.println(driver.findElement(By.id("wbInterviewdate")).getAttribute("readOnly")+"111111111111");
action.clear(neinter.wbInterviewdate());
action.type(neinter.wbInterviewdate(), "2018-05-18 16:33:34");// 采访时间
标签:drive action date() attr element get inter document att
原文地址:http://www.cnblogs.com/blank-form/p/7676697.html