Skip to content

waitForNotConfirmation (UI Automation - Synchronization)

Compatible with:
  • Purpose
  • This command retrieves the message of a JavaScript confirmation dialog generated during the previous action. By default, the confirm function will return true, having the same effect as manually clicking OK.
  • This can be changed by prior execution of the chooseCancelOnNextConfirmation command. If an confirmation is generated but you do not consume it with getConfirmation, the next Selenium action will fail.
  • Syntax
  • waitForNotConfirmation(pattern)
  • Target
  • pattern
  • Value
  • N/A
  • Return Value
  • N/A
 
 

Feedback and Knowledge Base