Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 514 Bytes

readme.md

File metadata and controls

30 lines (20 loc) · 514 Bytes

environment setup

  1. windows10 + python3
  2. download android simulator (http://mumu.163.com/)
  3. pip install uiautomator
  4. add adb path to environment variable (I installed AndroidStudio here)
C:\Users\xxx\AppData\Local\Android\Sdk\platform-tools
  1. start android simulator, then connect by adb
adb connect 127.0.0.1:7555

usage

e.g. open QQ at android simulator

from uiautomator import device as d

d.screen.on()
d(text="QQ").click()