Delay
Type: delay · Package: Core Activities v1.0.0
Pause execution for the indicated time (in milliseconds) and then continue with the next activity. It serves to give a system time to react: for a page to finish loading, for an application to open a window, for a file to finish being written.
How it works
Section titled “How it works”Upon reaching the activity, the flow stops exactly for the indicated milliseconds and then continues. Remember the equivalence: 1000 ms = 1 second.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
milliseconds | number | Tiempo de espera en milisegundos. Ej: 1500 = 1,5 segundos. |
Optional parameters
Section titled “Optional parameters”Ninguno.
Example
Section titled “Example”Wait half a second between two actions to avoid saturating a slow system:
Page Click selector = "#guardar"Delay milliseconds = 500Page Click selector = "#confirmar"| You want to wait… | milliseconds |
|---|---|
| Medio segundo | 500 |
| 1 segundo | 1000 |
| 5 segundos | 5000 |
| 1 minuto | 60000 |