Skip to content

waitForExpression (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • Generated from getExpression(expression)
  • This command waits for JavaScript preprocessing. It is used to generate commands like assertExpression.
  • waitForExpression(expression, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • Value
  • pattern - The value to be verified.
  • Return Value
  • The value passed in.

Feedback and Knowledge Base