From 76bb110857dc1bc200667af04bc366a0eb88903d Mon Sep 17 00:00:00 2001
From: zw <12345678>
Date: Thu, 28 Aug 2025 16:33:57 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=BA=9F=E5=BC=83=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 6 ++----
script/ScriptManager.py | 15 ---------------
2 files changed, 2 insertions(+), 19 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f8b9ea9..e74f17b 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,9 +4,7 @@
-
-
-
+
@@ -164,7 +162,7 @@
-
+
diff --git a/script/ScriptManager.py b/script/ScriptManager.py
index 6e16251..3f7f4d8 100644
--- a/script/ScriptManager.py
+++ b/script/ScriptManager.py
@@ -972,18 +972,3 @@ class ScriptManager():
LogManager.error(f"检测不到收件箱", udid)
raise Exception("当前页面找不到收件箱,重启")
- # 双击收件箱 定位到消息的位置
-
- # if count == 4:
- # r = el.bounds # 可能是命名属性,也可能是 tuple
- # cx = int((r.x + r.width / 2) if hasattr(r, "x") else (r[0] + r[2] / 2))
- # cy = int((r.y + r.height / 2) if hasattr(r, "y") else (r[1] + r[3] / 2))
- # session.double_tap(cx, cy) # 可能抛异常:方法不存在
- # LogManager.info(f"双击收件箱 定位到信息", udid)
- # count = 0
-
- def test(self, udid):
- client = wda.USBClient(udid)
- session = client.session()
- session.appium_settings({"snapshotMaxDepth": 10})
- print(client.source())