Skip to content
New issue

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

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

Already on GitHub? # to your account

Elements are not detected even though info() returns something. #84

Open
aimardcr opened this issue Apr 23, 2024 · 2 comments
Open

Elements are not detected even though info() returns something. #84

aimardcr opened this issue Apr 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@aimardcr
Copy link

aimardcr commented Apr 23, 2024

In some cases, Selector cannot find the element. Although e.info() returns some info, operations like click() will not work.
image

from lamda.client import *

d = Device('172.31.90.197', 65000)
e = d(resourceId="com.aimar.id.hijacker:id/btn1")
print(e.info())
print("exists: " + str(e.exists()))

Runs on WSA with latest lamda. I have also tried restarting the server but no luck.

@aimardcr
Copy link
Author

Okay, so I have found out that the focus activity on current app is not actually the app activity itself, but rather some weird app from the WSA:
image

@rev1si0n rev1si0n added the bug Something isn't working label Apr 24, 2024
@rev1si0n
Copy link
Collaborator

It's a bug, we are working on this #83

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants