capture Layout
Capture the layout hierarchy in the currently rendered screen of the application.
Return
: Root view element for the current screen, or null if not available. The view element contains sub-views recursively in the children
property.