1 Star 3 Fork 2

booven / iosMonkey

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 909 Bytes
一键复制 编辑 原始数据 按行查看 历史
booven 提交于 2023-11-17 16:14 . update Readme.md

环境准备

安装依赖

  1. 安装iTunes软件

  2. pip install tidevice

  3. pip install facebook-wda

  4. pip install airtest

手机上安装wda

可以安装.ipa文件,项目中有

安装wda:tidevice install ic_wda.ipa
查找wda的bundleId: tidevice applist 
(注意:配置文件config.py要配置wda的bundleID)

使用脚本

第一步:先配置config.py文件

# 日志名称
LOG_NAME = ""

# WDA BundelID,tidevice applist 查看
WDA_BUNDLE_ID = ""

# 待测appBundleID,tidevice applist 查看
APP_BUNDLE_ID = ""

# 输入的文本, 可以自定义,注意必须是列表类型
INPUT_TEXT = [
    "111111",
    "22222"
]

第二步:直接运行main.py,或者main.py自己设定run函数的传参

感谢

tidevice:https://gitee.com/mirrors/tidevice

facebook-wda:https://github.com/openatx/facebook-wda

airtest:https://github.com/AirtestProject/Airtest

1
https://gitee.com/bohnyoung/ios-monkey.git
git@gitee.com:bohnyoung/ios-monkey.git
bohnyoung
ios-monkey
iosMonkey
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891