Wait for text
Wait until text appears (or disappears) on the screen or at a position.
Command in the Terminal emulator toolkit · id ooa.terminal/wait_for_text · 9 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Text | String | Yes | Text to wait for. | |
| Timeout (seconds) | Number | No | 30 | Maximum wait. |
| Session | String | No | terminal | Session name. |
| Row | Number | No | Only look at text starting at this row (1-based); anywhere when empty. | |
| Column | Number | No | Column (1-based) of that position. | |
| Case sensitive | Boolean | No | true | Match upper and lower case exactly. |
| Wait until gone | Boolean | No | false | Wait until the text is no longer shown, e.g. a PLEASE WAIT message. |
| Fail on timeout | Boolean | No | true | Stop with an error on timeout; when off, found is false instead. |
| Poll interval (milliseconds) | Number | No | 500 | How often to look at the screen. |
Outputs
| Output | Type | What it is |
|---|---|---|
| found | Boolean | True when the condition was met in time (false only when fail_on_timeout is off). |