暫無描述

xiao.qiang ed76051ca4 更新工具类 8 月之前
assets d956fe54d6 更新工具类 8 月之前
test ed76051ca4 更新工具类 8 月之前
utils ed76051ca4 更新工具类 8 月之前
.gitignore ed76051ca4 更新工具类 8 月之前
LICENSE 29a45bbaad Initial commit 8 月之前
README.md d956fe54d6 更新工具类 8 月之前
pyproject.toml 62fbaf2d76 11 8 月之前
server.py 67059b9186 11 8 月之前

README.md

mobel-rpa

参考

参考文档

参考文章

https://github.com/openatx/uiautomator2

https://www.genymotion.com/product-desktop/download/

初始化项目

poetry install

运行android定位器

poetry run python -m weditor

shell 指令

查看设备号

adb devices

查找APPID

adb shell pm list packages -f

坐标文件xxx_point.json 格式

示例 deepcion_point.json

说明 这个文件可以 使用 类似于 utils.utils.UiFactory.save_point() 保存

也可以手动编写 格式:

{
    "btn_buy": {
    "description": "买入/开多",
    "point": {
      "x": 988.0,
      "y": 1066.5
    }
  }
}
  • 唯一标识:btn_buy
  • description 描述
  • point坐标 point 可以 使用weditor获取到的坐标

img.png