Skip to main content

untilAttributeValueIs

See getElementAttributeOrCssValue. Waits until element's given attribute's or css/style value is equals to the desired value.

untilAttributeValueIs(elemId, attribute, desiredValue)

Uses Element access timeout.

Parameters#

  • elemId: The target element
  • attribute: Element's attribute's or css/style name
  • desiredValue: The desired value

Returns#

  • boolean true if expectation fulfills