Skip to content

waitForEval (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • This command is used to wait for the result of evaluating a JavaScript snippet. The snippet may have multiple lines, but only the result of the last line will be returned
  • Syntax
  • waitForEval(script, pattern)
  • Target
  • script - the JavaScript snippet
  • Value
  • true or false
  • Return Value
  • the results of evaluating the snippet
 
 

Feedback and Knowledge Base