Skip to content

执行H5demo报错找不到微信Tools进程,如何解决,也获取不到pid #43

@yuwuhen333

Description

@yuwuhen333

执行H5Demo错误日志如下:
Error in sys.excepthook:
Traceback (most recent call last):
File "/Users/ios3rd/Desktop/Test/Tools/FAutoTest-master/fastAutoTest/utils/vmhook.py", line 48, in _handleUncaughtException
raise Exception(exctype)
Exception: <type 'exceptions.RuntimeError'>

Original exception was:
Traceback (most recent call last):
File "/Users/ios3rd/Desktop/Test/Tools/FAutoTest-master/sample/H5Demo.py", line 17, in
h5Driver.initDriver()
File "/Users/ios3rd/Desktop/Test/Tools/FAutoTest-master/fastAutoTest/core/h5/h5Engine.py", line 70, in initDriver
url = self._urlFetcher.fetchWebSocketDebugUrl()
File "/Users/ios3rd/Desktop/Test/Tools/FAutoTest-master/fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py", line 37, in fetchWebSocketDebugUrl
self._fetchInner()
File "/Users/ios3rd/Desktop/Test/Tools/FAutoTest-master/fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py", line 49, in _fetchInner
pid = H5WebSocketDebugUrlFetcher._fetchWeixinToolsProcessPid(device=self._device)
File "/Users/ios3rd/Desktop/Test/Tools/FAutoTest-master/fastAutoTest/core/h5/h5WebSocketDebugUrlFetcher.py", line 88, in _fetchWeixinToolsProcessPid
raise RuntimeError(errorMsg)
RuntimeError: 找不到微信Tools进程

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions