Skip to content
- Generated from getPrompt()
- Successful handling of the prompts requires prior execution of the answerOnNextPrompt command. If a prompt is generated but you do not get/verify it, the next QaSCRIBE action will fail. Under QaSCRIBE, JavaScript prompts will NOT pop up a visible dialog.
- NOTE: QaSCRIBE does NOT support JavaScript prompts that are generated in a page's onload() event handler. In this case, a visible dialog WILL be generated and QaSCRIBE will hang until someone manually clicks OK.
- waitForPrompt(pattern)
- Pattern
- N/A
- Waits for the message of the most recent JavaScript question prompts