Closed homandiy closed 2 years ago
Can you please specify how are you clicking on the ImageButton?
I tried to play MediaPlayer with ImageButton. Which player is from GStreamer: https://gstreamer.freedesktop.org/documentation/tutorials/android/media-player.html?gi-language=c The Culebra started the app on Emulator, but the Culebra could not click anything.
On Thu, Feb 25, 2021 at 8:44 PM Diego Torres Milano < notifications@github.com> wrote:
Can you please specify how are you clicking on the ImageButton?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dtmilano/AndroidViewClient/issues/290#issuecomment-786407321, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG3EN3Q6UM67ADSO5J5POK3TA4RJDANCNFSM4YBROLJA .
This clicks on an ImageButton
without issues:
obj_ref = helper.until.find_object(body={"checkable":False,"clazz":"android.widget.ImageButton","clickable":True,"depth":None,"desc":"Navigate up","pkg":"com.android.settings","res":"","scrollable":False,"text":"","index":None,"instance":None})
response = helper.ui_device.wait(oid=obj_ref.oid)
helper.ui_object2.click(oid=response['oid'])
I use ImageButton on my MediaPlayer. But the Culebra cannot click on ImageButton.