LogRocket automatically captures every user interaction with your application - allowing you to search retroactively for sessions where users interacted with specific buttons or screens.
To search for sessions, use the "Clicked on Selector" filter as shown below:
Selectors are generated from hierarchical view details and support a subset of the CSS specification syntax.
|Only the portion after |
|Only instances of |
For example, an
EditText with this definition:
<EditText android:id="@+id/user_email" android:tag="test-email-input" ... />
the following Selector would be generated:
For each touch event, or 'click', a hierarchy of views is computed from the touched view to the top view of the Activity. The following forms of querying are supported:
- Single element:
Button-- will match any
- Specific ID:
#signin-- will match any view with a Resource ID of
- Specific Tag:
.tag-value-- will match any view with that tag text
- Combined selectors: an element may be followed by either or both of a Specific ID and Specific Tag.
- Nesting: multiple selectors may be separated by a space, and will enforce a mathing hierarchy.
- Child Of: a selector in the form of
a > bmatches any view
bthat is a direct child of the view
Updated about 2 months ago