replaceTextVerified
Replaces the node's text and asserts the field now holds exactly text.
Catches fields that reformat or reject input, which a plain performTextReplacement hides. Password fields report their obscured text, so verify those through app state instead.
Return
This interaction, for chaining.
Parameters
text
The new contents.
Throws
when the field's text differs after replacement.