An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Timed out after 15521ms 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:\Program Files (x86)\ShadowBot\shadowbot-5.10.15\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.10.15\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.10.15\python\lib\site-packages\xbot_interpreter.py", line 87, in <module>
main()
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.10.15\python\lib\site-packages\xbot_interpreter.py", line 47, in main
try:
File "C:\Users\xtxu02\AppData\Local\ShadowBot\users\76520643577708545\apps\6fee2c7a-a8bc-47ef-bf05-df4eb9e38620\xbot_robot\main.py", line 13, in main
xbot_visual.mobile.element.click(session=device_session, element=package.selector("图片框3"), clicks="click", delay_after="1", _block=("main", 5, "点击元素(手机)"))
File "<string>", line 89, in wrapper
File "<string>", line 84, in wrapper
File "<string>", line 214, in click
File "<string>", line 364, in _element
File "<string>", line 58, in find
File "<string>", line 43, in find_all
File "<string>", line 572, in _invoke
File "<string>", line 88, in execute
xbot.errors.UIAError: An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Timed out after 15521ms 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