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