verifyAlert (UI Automation - Interrogation)
Compatible with:
- Purpose
- This command is used to verify the most recent javascript alert is present on the page or not.
- Syntax
- verifyAlert(pattern)
- Target
- pattern
- Value
- N/A
- Return Value
- The message of the most recent JavaScript alert, or fail if there is no alert.