Skip to main content
Python screen.find_text() and screen.find_all_text() return Element values; Go returns the corresponding mobile.Element. An element is data from one observed screen: what was recognized and where. It has no actions. To act on something, use a locator, or pass element.center to a coordinate action.
An element’s position is from the moment the screen was observed. If the screen may have changed since, tap with a locator instead, which finds the target again at the moment it acts. The CLI prints the same element data in table or JSON output. There is no REST element resource.

Fields

See also

Locator

Find a target and act on it in one call.

Screen

Query all elements from one observation.