Drag and Drop -Webdriver API Action Class
Syntax for drag and drop is below:-
Actions action = new Actions(driver);
action.dragAndDrop(Sourcelocator, Destinationlocator).build().perform();
You can also make it as like below:
(new Actions(driver)).dragAndDrop(element, target).perform();
https://www.youtube.com/watch?v=TmHILJhJfFo
https://www.youtube.com/watch?v=odxU3L1OB-M
https://www.youtube.com/watch?v=HPx-LWaYzFE
https://www.youtube.com/watch?v=WlQ-xpOACpE
https://www.youtube.com/watch?v=odxU3L1OB-M
https://www.youtube.com/watch?v=TmHILJhJfFo
https://www.youtube.com/watch?v=odxU3L1OB-M
https://www.youtube.com/watch?v=HPx-LWaYzFE
https://www.youtube.com/watch?v=WlQ-xpOACpE
https://www.youtube.com/watch?v=odxU3L1OB-M
https://www.youtube.com/watch?v=TmHILJhJfFo
No comments:
Post a Comment