Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created November 19, 2018 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/c75eec0f03ea8190372ddfe5f5c14b2d to your computer and use it in GitHub Desktop.
Save angelovstanton/c75eec0f03ea8190372ddfe5f5c14b2d to your computer and use it in GitHub Desktop.
[TestMethod]
public void MoveToTest()
{
ITouchAction touchAction = new TouchAction(_driver);
var element = _driver.FindElementById("IntegerA");
Point point = element.Coordinates.LocationInDom;
touchAction.MoveTo(point.X, point.Y).Perform();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment