操作日期控件

方案一:使用JS remove readonly attribute,然后sendKeys

方案二:采用click直接选择日期,日期控件是一个iframe,首先switch iframe,之后找到想要设置的日期button click,然后switch出来

1.定位日期选择框;

2.选择具体日期;

原文地址:https://www.cnblogs.com/hd-test/p/11737282.html