How to Add Custom Delay Between Steps Actuator

Tutorial on how to add a custom delay between sequence steps. Useful in case if you want to something different than default setting.

In case you want to add custom wait time you can use simple Custom Script step with the following script:

from PyQt5 import QtTest

SECONDS = 3

QtTest.QTest.qWait(int(SECONDS * 1000))

Change SECONDS variable to the number of seconds you want to wait. If you want to wait less then a second you can just give number of milliseconds as argument to qWait function.