我想测试我的代码,并有一个提交按钮,我必须单击,但此提交按钮获取动态ID名称。如何在不使用ID的情况下使用我的硒脚本点击此键。点击没有ID的提交键?
<td>
<button type="submit" value="Allow All" class="btn btnC bglb mfss touchable"
id="xhp647364382646" role="button" data-meta="0_3"
data-sigil="extra-perms-button blocking-touchable"> Allow All </button>
</td>
提交怎么样,如果有两个提交表单上!? –
您可以发布该表单的HTML - 至少两个提交按钮的行吗? –