0

How to implement drag and drop using javascriptexecutor?

pragapraga
  • 137
  • 1
  • 3
  • 10

1 Answers1

1

Actions actions = new Actions(driver); actions.clickAndHold(element).moveToElement(targetElement).r‌​elease(element).perf‌​orm();

should work, it worked in my case.

anshul Gupta
  • 1,102
  • 6
  • 17