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

rpa unable to find some elements when there is mazimize and restore is done #1188

Open
Sai-krishna-24 opened this issue May 2, 2024 · 1 comment

Comments

@Sai-krishna-24
Copy link

code snippet used
from RPA.Windows import Windows
w=Windows()

w.windows_search("Mail",2)
w.maximize_window("name:Mail")
w.restore_window("name:Mail")
w.click("name:"Show Hidden Icons"")

it is unable to click on show hidden icons button also tried click on some other elements not working

@mikahanninen
Copy link
Member

I think you need to do w.control_window("name:Mail") before click so that library has accurate list of current window elements.

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