Appium
view release on metacpan or search on metacpan
lib/Appium/Android/CanPage.pm view on Meta::CPAN
Display a list of the currently visible elements that have at least
one of the following attributes: C<text>, C<resource-id>, or
C<content-desc>. This is a shadow of
L<arc|https://github.com/appium/ruby_console>'s own page command,
mimicked here for its usefulness during test authoring.
Think of it like a lo-fi version of Chrome's C<Inspect element>.
$appium->page;
# android.view.View
# resource-id: android:id/action_bar_overlay_layout
#
# android.widget.FrameLayout
# resource-id: android:id/action_bar_container
#
# android.view.View
# resource-id: android:id/action_bar
#
# android.widget.ImageView
# resource-id: android:id/home
#
( run in 1.266 second using v1.01-cache-2.11-cpan-49f99fa48dc )