Skip to content

Instantly share code, notes, and snippets.

@zevnull
Last active December 24, 2015 13:59
Show Gist options
  • Save zevnull/6808928 to your computer and use it in GitHub Desktop.
Save zevnull/6808928 to your computer and use it in GitHub Desktop.
Selenium. Manual drag and drop
// Selenium
// Manual Drag And Drop
Action dragAndDrop = new Actions(driver)
.clickAndHold(element1)
.moveToElement(element2)
.release()
.build();
dragAndDrop.perform();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment