Protractor dragAndDrop not working

与世无争的帅哥 提交于 2019-12-12 01:39:34

问题


I have tried all possible ways for drag and dropping the elements available in the below link,

https://the-internet.herokuapp.com/drag_and_drop

But i am unable to achieve drag and drop the elements between two boxes.

Methods i tried so for

1.browser.actions().mouseMove(a).mouseDown().mouseMove(b).mouseUp().perform()
2.browser.actions().dragAndDrop(a,b).perform()
3.browser.driver.actions().dragAndDrop(a,{x:1000,y:0}).perform();

All the above methods are not working. Can some one figure out the possible work around for achieve dragAndDrop function on the elements.

Thanks in advance!!

来源:https://stackoverflow.com/questions/39575715/protractor-draganddrop-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!