'Drag and drop automation using Selenide
There is a ul element with few number of li elements. Also there is a another ul which is empty and need to drag some li elements from first ul into the second ul.
I am using Selenide and I used several methods that I found on the web.
SelenideElement drgthis = $x("//[@id=\"workspace\"]/div[1]/div[2]/div/div/div/div[2]/ul[1]/li[4]");
SelenideElement dragTo = $x("//*[@id=\"workspace\"]/div[1]/div[2]/div/div/div/div[2]/ul[2]");
drgthis .dragAndDropTo(dragTo);
This seems not working but the test is passed. Are there any specific way to do this, please? Is that possible to use Javascript? I tried it but didn't work smoothly.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
