Drag and Drop
locator.dragTo(target) drags one element to another.
On the Drag and Drop page, you can drag boxes into drop zones. A dropped box moves inside the drop zone element, so its parent changes.
Task:
- Navigate to
https://testkru.com/Interactions/DragAndDrop - Drag
#box1to#dropZone1 - Print the id of
#box1's parent element after the drop
Expected output:
Box 1 parent: dropZone1
TestKru