我有一个删除并确认的链接,但我在 SeleniumIDE 中不断收到错误
[error] There was an unexpected Confirmation
[Are you sure you want to delete all data and schedules for QA__run?]
我已经尝试在它之前添加chooseOkOnNextConfirmation,但它没有任何区别,我仍然得到错误。
删除链接后面的 HTML 是:
<a class="deleteicon" title="Delete QA__run" rel="nofollow"
data-method="delete" data-confirm="Are you sure?" href="/districts/83">
<img src="/assets/icons/delete-a77f3c....png" alt="Delete"></img>
</a>
看起来像: