yinkaisheng / Python-UIAutomation-for-Windows

🐍Python 3 wrapper of Microsoft UIAutomation. Support UIAutomation for MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, IE, Firefox, Chrome ...
Apache License 2.0
2.3k stars 462 forks source link

如何判断当前桌面软件支不支持使用uiautomation呢 #275

Open rejii0042 opened 2 months ago

rejii0042 commented 2 months ago

正在开发一套自动化流程,但是发现使用inspect无法拾取到控件元素,加了--force-renderer-accessibility这个参数后依然不行。请问这是为啥

shaoerkuai commented 2 months ago

软件没有实现UIA接口吧?只有实现UIA接口才能拿到元素的。