我正在写代码与 selenium ,以履行信息在一个网站。我不能指示代码选择一个特定的日期。
下面是html代码:
<div id="subview1:itemViewFragment1:itemForm1:texti0023_POPUP" name="subview1:itemViewFragment1:itemForm1:texti0023_POPUP_HXPOPUP" style="position: absolute; top: 482px; left: 425px; z-index: 1000000; padding: 0px; margin: 0px; vertical-align: top; overflow: visible; display: block; visibility: visible;" class="inputText_DatePicker">
<table id="subview1:itemViewFragment1:itemForm1:texti0023_POPUP_TABLE" border="0" cellspacing="0" cellpadding="0" class="inputText_DatePicker-Size">
<tbody><tr><td valign="top" align="left">
<table id="subview1:itemViewFragment1:itemForm1:texti0023_POPUP_HDR_TABLE" border="0" cellspacing="0" cellpadding="0" class="inputText_DatePicker-Header" width="100%">
<tbody><tr><td valign="middle" align="right" class="inputText_DatePicker-HeaderLine1">
<img id="subview1:itemViewFragment1:itemForm1:texti0023_POPUP_DAY_20221129O" class="inputText_DatePicker-CurrentMonth" tabindex="1" style="cursor: pointer;">
<span unselectable="on">29</span>
</td><td valign="middle" align="center" id="subview1:itemViewFragment1:itemForm1:texti0023_POPUP_DAY_20221130O" class="inputText_DatePicker-CurrentMonth" tabindex="1" style="cursor: pointer;">
<span unselectable="on">30</span>
</td><td valign="middle" align="center" id="subview1:itemViewFragment1:itemForm1:texti0023_POPUP_DAY_20221201X"
我已经尝试了这个网站中的所有代码,但没有找到解决方案.
1条答案
按热度按时间pexxcrt21#