1
我需要从小窗口中选择日期,下面是html代码的示例。有人可以帮我选择CSSSelector的日期还是其他任何最适合执行此任务的方法?Selenium WebDriver CSS选择器帮助 - 用于选择日期
<td class=" " onclick="DP_jQuery_1468593787056.datepicker._selectDay('#dp1468593787059',11,2016, this);return false;">
<a class="ui-state-default" href="#">1</a>
</td>
<td class=" " onclick="DP_jQuery_1468593787056.datepicker._selectDay('#dp1468593787059',11,2016, this);return false;">
<a class="ui-state-default" href="#">2</a>
</td>
<td class=" ui-datepicker-week-end " onclick="DP_jQuery_1468593787056.datepicker._selectDay('#dp1468593787059',11,2016, this);return false;">
<a class="ui-state-default" href="#">3</a>
有任何问题,请询问。
谢谢
检查[这](https://www.seleniumeasy.com/selenium-tutorials/working- with-date-picker-calendar-using-webdriver)和[this](http://learn-automation.com/handle-calender-in-selenium-webdriver/) – Madhan