Skip to content

waitForSelectedId (UI Automation - Synchronization)

  • Purpose
  • Generated from getSelectedId(selectLocator)
  • Waits for the page to load and get option element ID for selected option in the specified select element.
  • Syntax
  • waitForSelectedId(selectLocator, pattern)
  • Target
  • selectLocator- An element locator identifying a drop-down menu.
  • Value
  • pattern
  • Return Value
  • Pass, if the selected option ID is in the specified select drop-down.
 
 
 
 
 
 

Feedback and Knowledge Base