assertTextEquals

Asserts the matched node's text equals expected. A password field carries no readable text, so this assertion always fails against one.

Return

this interaction, for chaining a further assertion.

Parameters

expected

the whole text the node must carry; a node whose type carries no text fails against any expectation.