Skip to main content

untilValueIs

Waits until element's value is equals to the desired value.

note

Should only be used for elements whose text can be updated but doesn't reflect in html markup, such as input[type='text'], input[type='button'], input[type='submit'], textarea. For other elements use untilTextIs.

untilValueIs(elemId, desiredValue)

Uses Element access timeout.

Parameters#

  • elemId: The target element
  • desiredValue: The desired value

Returns#

  • boolean true if expectation fulfills