Skip to content

i can't get correct json format #13

Answered by dtmilano
Monirzadeh asked this question in Q&A
Discussion options

You must be logged in to vote

Current version is CulebraTester2-client. The documentation you cited is from a previous one.

ui_device_dump_window_hierarchy_get returns the window hierarchy tree

<class 'culebratester_client.models.window_hierarchy.WindowHierarchy'>

So, 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.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dtmilano
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants