by xiaocong

131 Stars 172 Forks Last release: Not found MIT License 48 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


UIAutomator is a great tool to perform Android UI testing, but to do it, you have to write java code, compile it, install the jar, and run. It's a complex steps for all testers...

This project is to build a light weight jsonrpc server in Android device, so that we can just write PC side script to write UIAutomator tests.


  • Run command:

    $ ./gradlew build
    $ ./gradlew packageDebugAndroidTest
  • Run the jsonrcp server on Android device

    $ ./gradlew cC
    $ adb forward tcp:9008 tcp:9008 # tcp forward

How to use

from uiautomator import device as d d.screen.on() d(text="Settings").click() d(scrollable=True).scroll.vert.forward() d().gestureM((100,200),(100,300),(100,400)).to((100,400),(100,400),(100,400),100)

Refer to python wrapper library uiautomator.


If you have any idea, please email [email protected], [email protected] or submit tickets.



  • android O support

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.