🦡 Weasel Warren

Alerts & Dialogs Challenge

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...

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.

Dialog Event Log:
No dialogs triggered yet...

🦡 Testing Challenge

⚠️ Some dialogs don't behave correctly! Click through each one carefully.

Pay attention to how dialogs respond to your actions:

Challenge: There are 2 bugs in the dialog handling. Can you spot them? 🦡