Skip to content

waitForElementIndex (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • This command waits for the relative index of an element to its parent (starting from 0). The comment node and empty text node will be ignored.
  • Syntax
  • waitForElementIndex(locator, pattern)
  • Target
  • locator - An element locator pointing to an element OR an element itself.
  • Value
  • pattern - The value to be verified.
  • Return Value
  • The relative index of the element to its parent (starting from 0).

Feedback and Knowledge Base