Skip to content

chooseOkOnNextConfirmationAndWait

Compatible with:
  • Purpose
  • This command, undo the effect of calling chooseCancelOnNextConfirmation.QaSCRIBE's overridden window.confirm() function will normally automatically return true as if the user had manually clicked OK, so you shouldn't need to use this command unless for some reason you need to change your mind prior to the next confirmation. After any confirmation, QaSCRIBE will resume using the default behaviour for future confirmations, automatically returning true (OK) unless/until you explicitly call chooseCancelOnNextConfirmation for each confirmation.This command waits after clicking OK for the timeout provided. 
  • Syntax
  • chooseOkOnNextConfirmation()
  • Target
  • N/A
  • Value
  • N/A
  • Return Value
  • N/A
 

Feedback and Knowledge Base