untilTextIs
Waits until element's text is equals to the desired text.
note
To wait for for elements whose text can be updated but doesn't reflect in html markup use untilValueIs. Example of these elements are input[type='text']
, input[type='button']
, input[type='submit']
, textarea
.
untilTextIs(elemId, desiredText)
Uses Element access timeout.
#
ParameterselemId
: The target elementdesiredText
: The desired text
#
Returnsboolean
true
if expectation fulfills