Fix: XPath of FLOAT_WINDOW (fixed #597)

This commit is contained in:
LmeSzinc 2024-07-31 18:54:34 +08:00
parent 03159c5092
commit b25f762144

View File

@ -72,7 +72,7 @@ class XPath:
悬浮窗及侧边栏元素
"""
# 悬浮窗
FLOAT_WINDOW = '//*[@package="com.miHoYo.cloudgames.hkrpg" and @class="android.widget.ImageView"]'
FLOAT_WINDOW = '//*[@package="com.miHoYo.cloudgames.hkrpg" and @class="android.widget.LinearLayout"]'
# 退出按钮,返回登录页面
FLOAT_EXIT = '//*[@resource-id="com.miHoYo.cloudgames.hkrpg:id/iv_exit"]'
# 弹出侧边栏的 节点信息