小程序
小游戏
企业微信
微信支付
扫描小程序码分享
试了两部手机小米10、mix 2、已经逍遥模拟器
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
minitest -v看看是哪个minium 版本。另,确认在调用allow的时候,已经有授权弹窗出现
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
DEBUG 2021-11-29 23:28:05,441 connection.py send 183 SEND > {"id":"3f45fac5-4bae-4851-95c5-1a667fd98d03","method":"App.callWxMethod","params":{"method":"reLaunch","args":[{"url":"/pages/index/index"}]}}
DEBUG 2021-11-29 23:28:06,723 connection.py _on_message 232 RECV < {"id":"3f45fac5-4bae-4851-95c5-1a667fd98d03","result":{"result":{"errMsg":"reLaunch:ok"}}}
DEBUG 2021-11-29 23:28:06,798 connection.py _on_message 232 RECV < {"method":"App.bindingCalled","params":{"name":"onAppRouteDone","args":[{"openType":"reLaunch","rawPath":"pages/index/index.html","query":{},"path":"pages/index/index","webviewId":-2001993464},1638199686796]}}
INFO 2021-11-29 23:28:06,799 app.py _on_route_changed 451 Route changed, {'name': 'onAppRouteDone', 'args': [{'openType': 'reLaunch', 'rawPath': 'pages/index/index.html', 'query': {}, 'path': 'pages/index/index', 'webviewId': -2001993464}, 1638199686796]}
DEBUG 2021-11-29 23:28:06,799 connection.py send 183 SEND > {"id":"e55ca5d9-f320-4790-9433-4230fe3100a0","method":"Tool.clearAuth","params":{}}
DEBUG 2021-11-29 23:28:06,804 connection.py _on_message 232 RECV < {"id":"e55ca5d9-f320-4790-9433-4230fe3100a0","result":{}}
D:\python3.9.6\lib\site-packages\minium-1.2.2-py3.9.egg\minium\native\lib\at\core\element.py:746: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("not exists by selector:" + self.__repr__())
WARNING:root:not exists by selector:class=android.widget.Button, 12=True, text=允许
DEBUG 2021-11-29 23:28:27,830 minitest.py _miniTearDown 512 =========Current case Down:test_user_native=========
INFO 2021-11-29 23:28:27,832 minitest.py capture 548 capture teardown.png
D:\python3.9.6\lib\site-packages\minium-1.2.2-py3.9.egg\minium\native\lib\at\utils\commonhelper.py:10: ResourceWarning: unclosed file <_io.BufferedWriter name='D:\\pythonProject\\minium_demo_01\\outputs\\20211129232534\\test_user_native\\20211129232647480182\\images\\teardown.png'>
open(path, "wb").write(image_data)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
DEBUG 2021-11-29 23:28:27,905 connection.py send 183 SEND > {"id":"f4a7de02-0bb6-45bb-88d8-190dd758c858","method":"App.getCurrentPage","params":{}}
DEBUG 2021-11-29 23:28:27,909 connection.py _on_message 232 RECV < {"id":"f4a7de02-0bb6-45bb-88d8-190dd758c858","result":{"pageId":-2001993464,"path":"pages/index/index","query":{}}}
DEBUG 2021-11-29 23:28:27,910 connection.py send 183 SEND > {"id":"85bd8b64-a121-4346-bbe1-86097984a28e","method":"Page.getData","params":{"pageId":-2001993464}}
DEBUG 2021-11-29 23:28:27,916 connection.py _on_message 230 RECV < {"id":"85bd8b64-a121-4346-bbe1-86097984a28e","result":{"data":{"statusBarHeight":37.5,"currentIndex":0,"iconCurrent":0,"enter_type":1,"store_details":"","tip_login":false,"loading":false,"page_index":1,"on_reach_bottom":false,"is_onshow":true,"location":"","dept_carouse_llist":[],"changeCards":false,"dept_icon_itemlist":[],"autoplay":true,"qua_bag":false,"qua_arr":[],"referer":"老百姓大药房","from":"","dept_mall_banner_1":"","dept_mall_banner_2":"","dept_mall_banner_3":"","loadingGif":false,"leftList":[],"righ...
Ran 1 test in 173.419s
OK
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
minitest -v看看是哪个minium 版本。另,确认在调用allow的时候,已经有授权弹窗出现
DEBUG 2021-11-29 23:28:05,441 connection.py send 183 SEND > {"id":"3f45fac5-4bae-4851-95c5-1a667fd98d03","method":"App.callWxMethod","params":{"method":"reLaunch","args":[{"url":"/pages/index/index"}]}}
DEBUG 2021-11-29 23:28:06,723 connection.py _on_message 232 RECV < {"id":"3f45fac5-4bae-4851-95c5-1a667fd98d03","result":{"result":{"errMsg":"reLaunch:ok"}}}
DEBUG 2021-11-29 23:28:06,798 connection.py _on_message 232 RECV < {"method":"App.bindingCalled","params":{"name":"onAppRouteDone","args":[{"openType":"reLaunch","rawPath":"pages/index/index.html","query":{},"path":"pages/index/index","webviewId":-2001993464},1638199686796]}}
INFO 2021-11-29 23:28:06,799 app.py _on_route_changed 451 Route changed, {'name': 'onAppRouteDone', 'args': [{'openType': 'reLaunch', 'rawPath': 'pages/index/index.html', 'query': {}, 'path': 'pages/index/index', 'webviewId': -2001993464}, 1638199686796]}
INFO 2021-11-29 23:28:06,799 app.py _on_route_changed 451 Route changed, {'name': 'onAppRouteDone', 'args': [{'openType': 'reLaunch', 'rawPath': 'pages/index/index.html', 'query': {}, 'path': 'pages/index/index', 'webviewId': -2001993464}, 1638199686796]}
DEBUG 2021-11-29 23:28:06,799 connection.py send 183 SEND > {"id":"e55ca5d9-f320-4790-9433-4230fe3100a0","method":"Tool.clearAuth","params":{}}
DEBUG 2021-11-29 23:28:06,804 connection.py _on_message 232 RECV < {"id":"e55ca5d9-f320-4790-9433-4230fe3100a0","result":{}}
D:\python3.9.6\lib\site-packages\minium-1.2.2-py3.9.egg\minium\native\lib\at\core\element.py:746: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
logger.warn("not exists by selector:" + self.__repr__())
WARNING:root:not exists by selector:class=android.widget.Button, 12=True, text=允许
DEBUG 2021-11-29 23:28:27,830 minitest.py _miniTearDown 512 =========Current case Down:test_user_native=========
INFO 2021-11-29 23:28:27,832 minitest.py capture 548 capture teardown.png
D:\python3.9.6\lib\site-packages\minium-1.2.2-py3.9.egg\minium\native\lib\at\utils\commonhelper.py:10: ResourceWarning: unclosed file <_io.BufferedWriter name='D:\\pythonProject\\minium_demo_01\\outputs\\20211129232534\\test_user_native\\20211129232647480182\\images\\teardown.png'>
open(path, "wb").write(image_data)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
DEBUG 2021-11-29 23:28:27,905 connection.py send 183 SEND > {"id":"f4a7de02-0bb6-45bb-88d8-190dd758c858","method":"App.getCurrentPage","params":{}}
DEBUG 2021-11-29 23:28:27,909 connection.py _on_message 232 RECV < {"id":"f4a7de02-0bb6-45bb-88d8-190dd758c858","result":{"pageId":-2001993464,"path":"pages/index/index","query":{}}}
DEBUG 2021-11-29 23:28:27,910 connection.py send 183 SEND > {"id":"85bd8b64-a121-4346-bbe1-86097984a28e","method":"Page.getData","params":{"pageId":-2001993464}}
DEBUG 2021-11-29 23:28:27,916 connection.py _on_message 230 RECV < {"id":"85bd8b64-a121-4346-bbe1-86097984a28e","result":{"data":{"statusBarHeight":37.5,"currentIndex":0,"iconCurrent":0,"enter_type":1,"store_details":"","tip_login":false,"loading":false,"page_index":1,"on_reach_bottom":false,"is_onshow":true,"location":"","dept_carouse_llist":[],"changeCards":false,"dept_icon_itemlist":[],"autoplay":true,"qua_bag":false,"qua_arr":[],"referer":"老百姓大药房","from":"","dept_mall_banner_1":"","dept_mall_banner_2":"","dept_mall_banner_3":"","loadingGif":false,"leftList":[],"righ...
Ran 1 test in 173.419s
OK