observe returns a Screen: one snapshot of recognized text, icons,
dimensions, hash, and capture time. Local screen queries do not make another
device or inference request.
- CLI
- Python SDK
- Go SDK
Find one text element
Pythonscreen.find_text(text, exact=False) and Go
screen.FindText(text, exact) return the first matching OCR element or an empty
result. A non-exact match is a case-insensitive substring; an exact match is
case-sensitive.
Find all text elements
Pythonscreen.find_all_text(contains=..., pattern=...) and Go
screen.FindAllText(contains, pattern) return every match. Choose either a
substring or a regular expression, not both. With neither criterion, the
method returns all recognized text.
Fields
See also
Observe
Capture and inspect the current screen.
Element
What one text match contains.