Help Centre › Building Processes
This article describes the RPA Screen functionality to wait until an image disappears from the screen.
For a full list of available functions, please read SCREEN functions.
Description
The SCREEN Wait until image is gone function waits until a specified image is no longer visible on the screen, checking at regular intervals until the timeout is reached.
Setting it up
To use the SCREEN Wait until image is gone function, follow these instructions:
{{popups:rpas/add:action=screen-wait-until-gone}}
Once on a process map:
- Navigate to the process where you would like to add the SCREEN Wait until image is gone function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the SCREEN Wait until image is gone option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Image path | Yes | Text | - | The file path to the reference image to wait for disappearance |
| Timeout | No | Number (seconds) | 30 | Maximum time to wait for the image to disappear |
| Interval | No | Number (seconds) | 0.5 | Time between each check |
| Confidence | No | Number (0.0-1.0) | 0.9 | The minimum confidence threshold for a match |
| Variable | No | Text | gone | The variable name to store the result |
Output variables
The {gone} variable contains a boolean value: true if the image disappeared within the timeout, false if the timeout was reached and the image is still visible.
Errors
| Error | Description |
|---|---|
| Image file not found | The specified image file path does not exist |
Tips
- Useful for waiting for loading spinners or progress indicators to disappear before continuing