问题
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