wxauto icon indicating copy to clipboard operation
wxauto copied to clipboard

一个奇怪的bug:搜索到了不存在的群聊名称

Open cangxia0528 opened this issue 1 year ago • 0 comments

于wxauto.py的WeChat类中,定义了一个打开群聊窗口的函数ChatWithDIY(图一)

测试正常,但运行时发现一处个例,出现了没有匹配结果但依旧返回匹配值的情况。

调试输出chatname的值,为 '{who}群' 的字符串。 但微信程序界面没有对应内容。(图二) 且未执行点击(Click)。

以至于在原聊天窗口运行了后续程序(发送消息等)

mmexport1728279033273.png (图一) mmexport1728271910068.png (图二)

cangxia0528 avatar Oct 07 '24 09:10 cangxia0528