错误的nosuchelementException如果屏幕不活动
我有一个在社交中执行某些行动的脚本。网络。如果我使窗口处于活动状态(将其打开并保持这种方式),则脚本可以正常工作。但是,如果我切换到另一个应用程序或类似的应用程序,则迟早会出现NosuchelementException错误。
selenium.common.exceptions.nosuchelementException:消息:无元素:无法找到元素:{“ method”:“ css selector”,“ selector”,“ selector”:“。poStheaderactionsbuttonmoreicon”}
I have a script that performs certain actions in the social. networks. If I make the window active (open it and keep it that way), then the script works fine. But if I switch to another application or something similar, then sooner or later NoSuchElementException errors begin to appear.
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".PostHeaderActionsButtonMoreIcon"}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论