From 691dbdd7b26a61b6fe7575be026a09442a2e02a5 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Mon, 5 Aug 2024 17:41:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.MD=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20requirements.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.MD | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.MD b/README.MD index 5247c2d..af37138 100644 --- a/README.MD +++ b/README.MD @@ -1,3 +1,15 @@ +### 项目依赖安装 +```shell +pip install -r requirements.txt +``` + +### requirements.txt +```shell +pip install pipreqs +pipreqs ./ --encoding=utf8 +``` + + ### 使用 uiautomator2 通过 adb 连接安卓设备 uiautomator2 是基于 uiautomator 的 Python 封装,可以用来对安卓设备进行自动化测试。