Modals and Popups
Instructions: Your automation script should interact with the modal dialog.
- Click the "Show Modal" button to open the dialog.
- Verify that the modal is visible and contains the correct title.
- Click the "Close" button inside the modal to close it.
- Verify that the modal is no longer visible.
Validation: An output message will confirm when the modal has been successfully closed.