Program  to Handle Drag and Drop using Selenium.

 

Ways to Handle Drag and Drop :-

  1. Drag and Drop using dragAndDrop method.
  2. DragandDrop using clickAndHold, moveToElement and release method.

 

1. Drag and Drop using dragAndDrop method:

 

 

2. DragandDrop using clickAndHold, moveToElement and release method: