selenium+python excel 日期怎么定位日期弹窗?
selenium+python excel 日期怎么定位日期弹窗?有专门的插件 定位父元素 WebElement datePicker = driver.findElement(By.name("ip_birthday"));
String sProductDate = "2003-11-03";
((JavascriptExecutor)driver).executeScript("arguments.value=arguments", datePicker, sProductDate); WebElement datePicker = driver.findElement(By.name("ip_birthday"));
String sProductDate = "2003-11-03";
((JavascriptExecutor)driver).executeScript("arguments.value=arguments", datePicker, sProductDate);
页:
[1]