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/2e62e71a2ce66de3b19b6ad6f6995828 to your computer and use it in GitHub Desktop.
Save angelovstanton/2e62e71a2ce66de3b19b6ad6f6995828 to your computer and use it in GitHub Desktop.
[TestMethod]
public void TapTest()
{
ITouchAction touchAction = new TouchAction(_driver);
var element = _driver.FindElementById("IntegerA");
Point point = element.Coordinates.LocationInDom;
touchAction.Tap(point.X, point.Y, 2).Perform();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment