Give an example to perform drag and drop in selenium webdriver?
Example: drag and drop in selenium
There are different ways to drag and drop I use
Actions action=new Actions(driver);
action.dragAndDrop(source, target).build().perform();
or
action.clickAndHold(source).moveToElement(target).release().build().perform();