Created
November 19, 2018 17:39
-
-
Save angelovstanton/727745a42cd2385802e6a1d65bd6e0ae 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 TapTest() | |
{ | |
ITouchAction touchAction = new TouchAction(_driver); | |
var element = _driver.FindElementById("android:id/content"); | |
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