text
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Read text from the screen. These call app_text.
text
def text(target: str | None=None) -> str
All readable text, or the text of one element.
Examples
Read everything on screen
print(device.text())
The same call from the command line, mobium text, printed on an Android 15 emulator:
Profile picture, double tap to open Google Account
Settings
Search settings
Network & internet
Mobile, Wi‑Fi, hotspot
Connected devices
Bluetooth, pairing
Apps
Assistant, recent apps, default apps
Notifications
Notification history, conversations
Battery
100%
Storage
51% used - 7.85 GB free
Sound & vibration
Volume, haptics, Do Not Disturb

mobium text on an Android 15 emulator
Read one element's text
title = device.text("testid=title")
print(title)