20250904-初步功能已完成
This commit is contained in:
@@ -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="关注"]')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user