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單擊此按鈕。有人可以幫忙嗎?