
无法获取[立即领取]的按钮,会直接报错,
An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Timed out after 15522ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work
Traceback (most recent call last):
File "C:\Users\38221\AppData\Local\ShadowBot\users\551518e1-fb58-4c2b-b05e-af168a8e1bba\apps\7ce2239e-35b8-4095-908a-7fe5cdb87207\xbot_robot\process1.py", line 19, in main
mobile_element3 = xbot_visual.mobile.element.get_element(session=device_session, select_type="xpath", xbot_selector=None, str_selector="//*[@text=\"立即领取\"]", _block=("自动领券", 3, "获取元素对象(手机)"))
File "<string>", line 79, in wrapper
xbot.errors.UIAError: An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Timed out after 15522ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work
请问这是什么问题以及如何解决