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
Finding element (singular) using xpath does not return single element results (Android) #3774
Comments
Note I am using 1.3-beta build |
Is this fix in the beta build? |
@bootstraponline yes |
I just tried the same search on 1.2.0 and it works. So something has changed in 1.3.0-beta |
can you try on 1.2.3? |
@jlipps: I think you meant 1.2.4 ? |
well at the time i wrote that 1.2.4 wasn't out yet, but yes now i mean 1.2.4 :-) |
Sorry I'm stuck with "could not launch appium inspector" after trying to get 1.2.4 and it doesn't launch in 1.3.0-beta either. :( I wasn't able to do the same test. |
I don't know what was the inspector issue.. i did an Mac update and it resolve it. Weird! And I can confirm it does not work on 1.2.4. (it works on 1.2.0) |
Let me know what the status is on this -- I think I'm seeing similar things and can provide logs if needed, |
I think there is a basic misunderstanding of how xpath works. If you want the first FrameLayout, this is the xpath expression you would use: In which case, not a bug? |
Thanks Jonah. The xpath used had a unintended intent to retrieve the element. There is still behavior difference from 1.2.4 vs 1.2.0 using that same xpath, so something is off. May likely be resolved once we know what the issue is. |
We messed around with xpath implementation a bit around 1.2.0 to 1.2.3 I'm pretty sure, but it should be stable going forward :) |
@Jonahss Can we close this? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I tried doing a simple find element via xpath and a predicate of [1]. However I get back 3 elements so finding element does not evaluate the predicate correctly.. This is for android
The text was updated successfully, but these errors were encountered: