Skip to content

waitForPopUp (UI Automation - Synchronization)

Compatible with:
  • Purpose
  •  Waits for a popup window to appear and load up.  
  • Syntax
  • waitForPopUp(windowID, timeout)
  • Target
  • windowID
  • The JavaScript window "name" of the window that will appear (not the text of the title bar) If unspecified, or specified as "null", this command will wait for the first non-top window to appear (don't rely on this if you are working with multiple popups simultaneously).
  • Value
  • timeout
  • A timeout in milliseconds, after which the action will return with an error. If this value is not specified, the default QaSCRIBE timeout will be used. See the setTimeout() command.
  • Return Value
  • N/A
 
 

Feedback and Knowledge Base