The ‘WaitForElement’ action is essential to creating your user journey and just as important as a ‘Click’. User Journeys run quite fast. The WaitForElement waits for a specific element to load on your site before proceeding with the next action. For example, you might see this action after clicking through to a new page to ensure everything is loaded before interacting further.
There are four conditions in the WaitForElement you can choose to wait for:
If you are checking for a button to load we would recommend ‘Clickable’ however if you are checking for text such as an error message to appear we would recommend ‘Visible’.
There is also a ‘Wait’ action in the script editor however we wouldn’t suggest using this unless absolutely necessary as load times can fluctuate causing journey failures.
Here is an example of a structure containing ‘WaitForElements’ however they are useful in all journeys: