标签: drag-and-drop cucumber watir-webdriver
我可以使用哪个命令进行黄瓜测试拖放?
答案 0 :(得分:3)
来自watir-webdriver API docs:
a = browser.div(:id => "draggable") b = browser.div(:id => "droppable") a.drag_and_drop_on b