mi'nitest {'version': '1.4.3', 'revision': '441a30f6097b9e229f4bb7c20980bb47689a5d67', 'branch': 'master', 'update_at': '2023-07-06 10:49:59'}
微信开发者工具 1.06.2307260 调试基础库 2.33.0
启动开发者工具时卡死,一片空白,需要手动去点,才能正常打开小程序,一点也不自动化
page destroyed(1.4.2说修复了,但是我用的1.4.3还是经常出现)
时不时就会出现,明显是工具和框架的问题
File "D:\PythonProject\cyy_automate_test\fixtures\MyMiniumBase.py", line 156, in find_element
return self.page.get_element(
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\app.py", line 217, in wrapper
return attr(*args, **kwargs)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\minium_log.py", line 172, in wrapper
result = func(*args, **kwargs)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\page.py", line 277, in get_element
r = self.get_elements(
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\minium_log.py", line 172, in wrapper
result = func(*args, **kwargs)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\page.py", line 398, in get_elements
return filter_elements()
File "D:\PythonProject\ui_env\lib\site-packages\minium\utils\utils.py", line 56, in wrapper
r = func(*args, **kwargs)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\page.py", line 384, in filter_elements
elements = self._get_elements_by_css(selector, max_timeout, index=-1)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\page.py", line 560, in _get_elements_by_css
els = search_elements(_selector_list)
File "D:\PythonProject\ui_env\lib\site-packages\minium\utils\utils.py", line 56, in wrapper
r = func(*args, **kwargs)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\page.py", line 553, in search_elements
return self.__search_child(
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\page.py", line 517, in __search_child
els = self.__get_elements(_selector)
File "D:\PythonProject\ui_env\lib\site-packages\minium\utils\utils.py", line 82, in wrapper
ret = func(*args, **kwargs)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\page.py", line 495, in __get_elements
ret = self._send("Page.getElements", {"selector": selector})
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\page.py", line 488, in _send
self.connection.send(method, params)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\connection.py", line 447, in send
return self._receive_response(cmd)
File "D:\PythonProject\ui_env\lib\site-packages\minium\miniprogram\base_driver\connection.py", line 473, in _receive_response
raise response
minium.framework.exception.PageDestroyed: page destroyed
找不到元素
时而找到时而找不到,超时报错,程序很不流畅
......还会继续更新