Created
December 21, 2013 16:59
-
-
Save yaraki/8072012 to your computer and use it in GitHub Desktop.
Simplest MonkeyRunner script that keeps on tapping the specified position every second
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
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice | |
device = MonkeyRunner.waitForConnection() | |
while 1: | |
device.touch(540, 1560, MonkeyDevice.DOWN_AND_UP) | |
MonkeyRunner.sleep(1.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment