临时提交
This commit is contained in:
@@ -124,7 +124,7 @@ class ControlUtils(object):
|
||||
# 获取关注按钮
|
||||
@classmethod
|
||||
def clickFollowButton(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]')
|
||||
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]")
|
||||
if followButton.exists:
|
||||
print("找到了")
|
||||
followButton.click()
|
||||
|
||||
Reference in New Issue
Block a user