Created
February 20, 2016 10:38
-
-
Save angelovstanton/93472f3f548255f85247 to your computer and use it in GitHub Desktop.
This file contains 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
[TestMethod] | |
public void DragAndDrop() | |
{ | |
this.driver.Navigate().GoToUrl(@"http://loopj.com/jquery-simple-slider/"); | |
IWebElement element = driver.FindElement(By.XPath("//*[@id='project']/p[1]/div/div[2]")); | |
Actions move = new Actions(driver); | |
move.DragAndDropToOffset(element, 30, 0).Perform(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment