随笔分类 -  UIautomator2

摘要:1、安装pyinstaller pip install pyinstaller 2、打包 进入Python脚本所在目录,在目录进入cmd命令行窗口,执行命令pyinstaller scriptname 3、pyinstaller参数 --onefile 将所有的依赖库打包成一个单独的可执行文件,而不 阅读全文
posted @ 2025-06-21 13:49 没醉 阅读(151) 评论(0) 推荐(0)
摘要:xpath接口官方文档:https://github.com/openatx/uiautomator2/blob/master/XPATH_CN.mdxpath,是一种用于在XML文档中定位和选择节点的查询语言‌,最初设计用于XML文档的信息提取,后扩展至HTML处理,广泛应用于数据提取、自动化测试 阅读全文
posted @ 2025-06-13 18:24 没醉 阅读(453) 评论(0) 推荐(0)
摘要:github官方文档:https://github.com/openatx/uiautomator2/blob/master/README_CN.md 1.pip3 install -U uiautomator2 安装uiautomator22.python3 -m uiautomator2 ini 阅读全文
posted @ 2021-11-27 14:40 没醉 阅读(121) 评论(0) 推荐(0)