Skip to content

Instantly share code, notes, and snippets.

@yaraki
Created December 21, 2013 16:59
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 yaraki/8072012 to your computer and use it in GitHub Desktop.
Save yaraki/8072012 to your computer and use it in GitHub Desktop.
Simplest MonkeyRunner script that keeps on tapping the specified position every second
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