20250904-初步功能已完成

This commit is contained in:
2025-09-15 22:40:45 +08:00
parent 177757a143
commit 096b10f5f0
6 changed files with 103 additions and 88 deletions

View File

@@ -247,6 +247,7 @@ class AiUtils(object):
@classmethod
def getFollowButton(cls, session: Client):
# followButton = session.xpath("//Window[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[2]/Other[2]/Other[1]/Other[1]/Other[3]/Other[1]/Other[1]/Button[1]")
session.appium_settings({"snapshotMaxDepth": 20})
followButton = session.xpath('//XCUIElementTypeButton[@name="关注" or @label="关注"]')