Skip to main content

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.

Parameters#

  • elemId: The target element
  • desiredText: The desired text

Returns#

  • boolean true if expectation fulfills