The ‘WaitForElementText’ action instructs a journey to wait until a condition is met on the page text. This can be used for ensuring a page is fully loaded or checking for specific text on a page. For example, you could use this action to check for the words ‘In Stock’ on a product page. There are times when a WaitForElementText is useful but we recommend using a ‘WaitForElement‘ where possible.
You can set the action to wait for three conditions which each offer different possibilities:
- Equal
- Contain
- Match
Once you have entered the text into the ‘Value’ field you can also edit the timeout length and if you want the action to error. If you want the journey to still pass even if the action fails you can set the ‘Error’ status to ‘No’.
