Text Assertions can be used to ensure a UI element exactly matches or contains a given text snippet.
Text Assertions can also be used to specify when an element, like a button, is ready to be clicked as seen in the Step Load Time example from our main Assertions article.
Any Text Assertions should be deterministic
If a word appears multiple times on the screen, or in multiple variations, it is not a great candidate for a deterministic Assertion as it will not help Waldo narrow in on where to go or what to do.
Updated 1 day ago