Selenium Automation Practice – 12 Types of Alerts
Click each button to see how different alerts behave. Use this page to practice alert handling in Selenium automation.
1. Simple Alert: A basic alert with an OK button.
2. Confirm Alert: An alert with OK and Cancel options.
3. Prompt Alert: An alert that allows text input.
4. Delayed Alert: Appears after 5 seconds (tests explicit wait in Selenium).
5. Chained Alert: Series of multiple alerts, one after another.
6. Multi-line Alert: Alert with multiple lines of text.
7. Empty Alert: Alert with no message (edge case).
8. Long Text Alert: Alert with a large message for testing long strings.
9. Special Character Alert: Alert with symbols and special characters.
10. Numeric Alert: Alert with only numbers.
11. Emoji Alert: Alert showing emojis for fun testing.
12. Custom Output Alert: After closing the alert, the page text changes.