Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tdRPA opened this issue Jul 5, 2024 · 2 comments
Open

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

tdRPA opened this issue Jul 5, 2024 · 2 comments

Comments

@tdRPA
Copy link

tdRPA commented Jul 5, 2024

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

@yinkaisheng
Copy link
Owner

是的,应该用IUIAutomation.CompareElements

@tdRPA
Copy link
Author

tdRPA commented Jul 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants