Created
August 27, 2014 18:10
-
-
Save azakordonets/e7e6e2284bb27c16d7d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void dragAndDrop2(WebElement element, int xOffset, int yOffset) throws Exception { | |
| Actions builder = new Actions(driver; | |
| Action dragAndDrop = builder.dragAndDropBy(element, xOffset, yOffset) .build(); | |
| dragAndDrop.perform(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment