-
Notifications
You must be signed in to change notification settings - Fork 17
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
API for default wait time when getting MainWindow #51
Comments
I have this GetMainWindow function for the program. I did try TimeSpan.FromSeconds(5) but i'm still getting infinity waiting for the respond. Do you have any idea?
|
Sounds like a bug, have you seen anything dumb in the code? Gu.Wpf.UiAutomation/Gu.Wpf.UiAutomation/Application.cs Lines 344 to 369 in 2916d66
|
I did try |
Did it timeout when you did |
Yes it did throw timeout exception |
Do you have API ideas for this? Static property |
Yeah I fixed the issue by putting: It worked perfectly fine. |
Now it is
Which is not very nice and the time is probably too short for real applications.
Static property is an alternative but not very nice.
Another alternative is attribute.
The text was updated successfully, but these errors were encountered: