临时提交

This commit is contained in:
zw
2025-08-15 20:04:59 +08:00
parent 6332bda929
commit 690b17ec58
66 changed files with 5075 additions and 156 deletions

View File

@@ -348,6 +348,7 @@ class ScriptManager():
if AiUtils.getUnReadMsgCount(session) > 0:
# 执行回复消息逻辑
self.monitorMessages(session, udid)
# 判断是否有首页按钮
homeButton = AiUtils.findHomeButton(udid)
if homeButton.exists:
homeButton.click()
@@ -362,12 +363,12 @@ class ScriptManager():
session.appium_settings({"snapshotMaxDepth": 15})
# 点击搜索按钮
ControlUtils.clickSearch(session)
else:
session.appium_settings({"snapshotMaxDepth": 15})
# 点击搜索按钮
ControlUtils.clickSearch(session)
def replyMessages(self, udid, event):
client = wda.USBClient(udid)
session = client.session()