Overview

A Screen describes what an app shows at one point (TikTok’s For You feed, a post composer, a pop-up) with conditions on a screenshot, so a workflow can wait for it or branch on it instead of tapping blind. Conditions read the text on screen (OCR) or elements the detector finds; region limits a condition to part of the screen.

Properties

string
Unique identifier of the screen.
string
The organization it belongs to.
string
Its name.
string
The app id.
string
android or ios. A workflow only matches a screen on phones of its platform.
object
Its conditions: every all condition holds and no none condition does.
object[]
string
text, label, color or vision (vision cannot be saved or decided yet).
string
For text: the words.
boolean
For text: whole line only.
string
For label: the detector label.
number[]
[x0, y0, x1, y1] fractions of the screenshot.
string
For vision: the question.
string
For color: #rrggbb; it holds when at least share (default 0.1) of the pixels in the box of label, or in region, are within tolerance (default 40 per channel) of it.
integer
For color: 0 to 255.
number
For color: above 0 up to 1.
object[]
string
text, label, color or vision (vision cannot be saved or decided yet).
string
For text: the words.
boolean
For text: whole line only.
string
For label: the detector label.
number[]
[x0, y0, x1, y1] fractions of the screenshot.
string
For vision: the question.
string
For color: #rrggbb; it holds when at least share (default 0.1) of the pixels in the box of label, or in region, are within tolerance (default 40 per channel) of it.
integer
For color: 0 to 255.
number
For color: above 0 up to 1.
string | null
A screenshot of the screen, for reference.
string
When it was created (ISO 8601).
string
When it last changed (ISO 8601).