Skip to content

Instantly share code, notes, and snippets.

@dev0x10
Created February 19, 2017 00:57
Show Gist options
  • Save dev0x10/e1641663a9c3fd1db04c0076c6fc99e9 to your computer and use it in GitHub Desktop.
Save dev0x10/e1641663a9c3fd1db04c0076c6fc99e9 to your computer and use it in GitHub Desktop.
Monkey Runner Touch For Loop
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
device = MonkeyRunner.waitForConnection()
for i in range(1, 1000000):
MonkeyRunner.sleep(0.1)
device.touch(692, 1129, 'DOWN_AND_UP')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment