Skip to content

waitForAttribute (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • This command is used to wait for the value of an attribute of particular element.
  • The value of the attribute may differ across browsers (this is the case for the "style" attribute, for example).
  • Syntax
  • waitForAttribute(attributeLocator, pattern)
  • Target
  • attributeLocator - an element locator followed by an @ sign and then the name of the attribute, e.g. "foo@bar"
  • Value
  • N/A
  • Return Value
  • N/A
 
 

Feedback and Knowledge Base