This page has moved to
https://www.selenium.dev/documentation/webdriver/interactions/alerts/
JavaScript alerts, prompts and confirmations