临时提交
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user