20250918-新增主播库功能

This commit is contained in:
2025-09-18 20:15:07 +08:00
parent 2fe1576eaa
commit 11e72d0fae
6 changed files with 327 additions and 63 deletions

View File

@@ -189,7 +189,7 @@ class ControlUtils(object):
def userClickProfile(cls, session, aid):
try:
user_btn = session.xpath("(//XCUIElementTypeButton[@name='用户' and @visible='true'])[1]")
if user_btn:
if user_btn.exists:
user_btn.click()
time.sleep(3)
follow_btn = session.xpath(