Skip to content

Instantly share code, notes, and snippets.

@Rahul-012
Created June 2, 2016 12:38
Show Gist options
  • Save Rahul-012/222d787d5961b3210fee1b0e7cfe80fd to your computer and use it in GitHub Desktop.
Save Rahul-012/222d787d5961b3210fee1b0e7cfe80fd to your computer and use it in GitHub Desktop.
Can any body have any idea how to drag and drop a element in protractor ,,,,,,,,,
browser.driver.actions()
.mouseMove(e1,{x:0,y:0})
.mouseDown()
.mouseMove(e2,{x:100,y:0})
.mouseUp()
.perform();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment