SCREEN Wait until image is gone function

The SCREEN Wait until image is gone function in RPA.

Help CentreBuilding 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:

  1. Navigate to the process where you would like to add the SCREEN Wait until image is gone function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the SCREEN Wait until image is gone option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Image pathYesText-The file path to the reference image to wait for disappearance
TimeoutNoNumber (seconds)30Maximum time to wait for the image to disappear
IntervalNoNumber (seconds)0.5Time between each check
ConfidenceNoNumber (0.0-1.0)0.9The minimum confidence threshold for a match
VariableNoTextgoneThe 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

ErrorDescription
Image file not foundThe specified image file path does not exist

Tips

  • Useful for waiting for loading spinners or progress indicators to disappear before continuing

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.