2
<INPUT onclick="return verifyCheckedForEdit('UserAdminForm', 'itemDelUserId','hiddenUserId', 'Disable')" id=disableButton class=buttonBlue type=submit value=Disable name=Disable>
处理点击数事件以上是我tag.I尝试了各种选择:Phantomjs使用红宝石硒
disable=$driver.find_element(:xpath,"html/body/div[4]/div[1]/div[2]/form/table/tbody/tr[2]/td/input[2]")
- disable.submit
- $ driver.find_element(:名称,”禁用“)。send_keys:输入
- $ driver.action.move_to(disable).double_click(disable).perform
- $ driver.action.move_to(disable).click(disable).perform
上面的工作的Nonone单击此按钮。有人可以帮忙吗?