-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
FindElementsByTagName("Window") returns zero results #632
Comments
I tried the following, it didn't return zero. But, it returned the wrong value.
|
It appears to work with v1.1.1... thanks! FYI, I noticed in the WinAppDriver console a number of exception warnings... the resultset still looked ok, don't know if those exceptions are concerning. See the output below... the "Exception" section (including the "Ignoring new object and keeping existing one" message) was repeated many times (more than 20?). It appears to display one entry for each email that I had opened in Outlook... I've obfuscated and left a single entry for illustration, but you can probably reproduce if you make this call while Outlook is open.
|
Hi @mdesousa, Thanks for the update. I'm glad it works out very well for you. Yes there is an issue with one of the Outlook release where some distinct elements sharing the same runtimeId. They are aware of this and are working on a fix. These exceptions are merely warnings to help application developer identify the elements that share the runtimeId. Having said that, as long as the warning messages doesn't come from your application, it shouldn't be a concern. |
Hi, |
Share your XPath |
@anshilabhi |
I am trying to get a list of all the windows on the desktop with the code below. However, I get zero results... should this work?
The text was updated successfully, but these errors were encountered: