The API takes in a matcher (e.g. withText, withValueKey) and returns a serialized widget object, which contains information necessary (e.g. coordinates) for performing an action on the widget or making assertions on the widget properties in Espresso.