i can't get correct json format #13
-
as mention in documentation here bellow code
should return somthing like this
But I get |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Current version is CulebraTester2-client. The documentation you cited is from a previous one.
So, if you want to obtain the |
Beta Was this translation helpful? Give feedback.
-
This will print valid json without having to traverse the tree (uses
|
Beta Was this translation helpful? Give feedback.
Current version is CulebraTester2-client. The documentation you cited is from a previous one.
ui_device_dump_window_hierarchy_get
returns the window hierarchy treeSo, if you want to obtain the
json
from the low-level api you have to do the same as https://github.com/dtmilano/AndroidViewClient does traversing the tree. See dump.