|  | 
 
| <div class="rfm"> <table>
 <tbody>
 <tr>
 <th>验证码</th>
 <td><input name="seccodeverify" id="seccodeverify_cShasdf" type="text" autocomplete="off"
 style="ime-mode:disabled;width:100px" class="txt px vm"
 onblur="checksec('code', 'cShLhHrh', 0, null, 'member::logging')">
 </td>
 </tr>
 </tbody>
 </table>
 </div>
 
 
 id="seccodeverify_cShasdf" 这个是动态变化的
 
 定位使用:
 seccode = browser.find_element_by_name('seccodeverify')
 
 seccode = browser.find_element_by_xpath("//input[starts-with(@id, 'seccodeverify')]"
 
 此页上其它的相同元素均可以使用以上方法定位,就这个input元素无法定位,请大神看看到底是什么问题?谢谢
 
 
 
 
 
 
 | 
 |