Challenge Instructions
This page has JavaScript dialogs—those pop-ups that demand immediate attention. Like a weasel that's spotted something interesting, they're quick, insistent, and won't let you proceed until you deal with them. Some of them don't behave correctly...
- Click through simple alerts
- Make decisions with confirm dialogs - try both OK and Cancel
- Enter text (or don't) into prompt dialogs
- Wait for delayed dialogs to appear
- Work through sequences of multiple dialogs
- Check if the results match what you expected
Weasel Wisdom: Dialogs are modal and blocking—like a weasel that's found your lunch, you can't do anything else until you deal with them. Pay attention to what happens after you click OK or Cancel. 🦡
Simple Alerts
Basic alerts that just want to tell you something. They only have an OK button—no choices to make.
Confirm Dialogs
Confirm dialogs ask for a decision: OK or Cancel. Your automation needs to choose wisely, like a weasel deciding whether to raid the henhouse.
Prompt Dialogs
Prompts ask for text input. They're like a weasel asking "What's in your pockets?"—they expect an answer.
Delayed Dialogs
These dialogs don't appear immediately—they wait a bit, like a weasel planning its ambush. Your automation needs patience and proper wait handling.
Multiple Sequential Dialogs
Like a whole family of weasels, one after another. Your automation needs to handle each one in sequence.
Dialog Results Tracker
This section tracks all the dialog interactions on this page. Use it to verify your automation handled everything correctly.
🦡 Testing Challenge
⚠️ Some dialogs don't behave correctly! Click through each one carefully.
Pay attention to how dialogs respond to your actions:
- Do confirm dialogs respect whether you click OK or Cancel?
- What happens if you leave a prompt empty?
- Do the results match what you'd expect from your choices?
- Check the event log to see what actually happened
Challenge: There are 2 bugs in the dialog handling. Can you spot them? 🦡