Check Text
Assert the visible text of an Element.
Last updated
Assert the visible text of an Element.
Check text compares an Element’s text with the value you expect. Use it to prove a heading, label, button label, or message is correct after an action.

Confirm success copy after submit, save, or login.
Assert a label or heading after navigation.
Prefer Check value when you need the value attribute of an input rather than visible text.
Should the check be performed instantly?
Strict (default) fails quickly when text does not match. Tolerant keeps checking within the step timeout while the text settles
Status on fail
When should screenshots be taken?
Always or On Failures (default)
Value Standardization
Pro tip: Use Tolerant when the UI updates text a moment after the click. Use Strict when a mismatch should fail immediately.
Tags: check, text, assert, element
Last updated