Git Product home page Git Product logo

Comments (7)

LTEnjoy avatar LTEnjoy commented on August 12, 2024

这种情况是程序无法找到微信的搜索框,这种问题能够稳定复现吗?
1720420357510

from easychat.

sanshuitmac avatar sanshuitmac commented on August 12, 2024

这种情况是程序无法找到微信的搜索框,这种问题能够稳定复现吗? 1720420357510

他是偶尔会这样报错,不定时出现。。。。刚才出现时,我看他是打开微信窗口,左上角也是有搜索框的,但就是提示找不到。

from easychat.

LTEnjoy avatar LTEnjoy commented on August 12, 2024

这个问题比较奇怪,因为我从来没遇到过这个问题,而且也不是能稳定出现的错误。建议再观察一下是否有什么出错的迹象。

from easychat.

sanshuitmac avatar sanshuitmac commented on August 12, 2024

我这挺经常发生。。我是使用ApsScheduler定时任务,每小时selenium打开浏览器截图,然后微信发送截图。我发现微信从最小化到获取窗口时,比较大概率报这个错,微信一直打开窗口就比较少。会不会是获取微信窗口后,马上寻找搜索框,间隔太短,导致找不到?我这出现也比较玄乎。我现在捕获这个异常,重试一次send_file,倒是每次重试时都能找到搜索框正常发送。

from easychat.

LTEnjoy avatar LTEnjoy commented on August 12, 2024

有可能有这个问题。我觉得可以人为加一个sleep函数,在寻找搜索框之前短暂等待一段时间,也许可以解决这个问题。

from easychat.

sanshuitmac avatar sanshuitmac commented on August 12, 2024

我在获取微信窗口后睡眠了几秒,再看看效果

from easychat.

Davidyzb avatar Davidyzb commented on August 12, 2024
微信图片_20240727213339 up您好,我试用了参考#33的代码,没有成功实现自动回复功能,然后我在检查源代码的时候发现这个.chats没有被识别是什么原因呢

from easychat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.