Spreewald Show archive.org snapshot gives you steps like these:
When I enter "text" into the browser dialog
Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!
Also see Accept or deny JavaScript confirmation dialogs in Capybara/Selenium.