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

def Exist 函数判断逻辑的问题 #284

Open tdRPA opened 3 days ago

tdRPA commented 3 days ago

def Exist 函数 第6608行 if self._element == rootElement: 应该是用 .GetRuntimeId() 判断,不是直接比较两个对象吧

yinkaisheng commented 5 hours ago

是的,应该用IUIAutomation.CompareElements

tdRPA commented 5 hours ago

邮件已收到,通常我在1~2天内回复。如有急事,请直接电话联系 ----我的微信 haijun-data