UnhandledAlertException Alert Property WebDriver
Gets the IAlert that has not been handled.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

[ObsoleteAttribute("Use the AlertText property to get the alert of an already dismised alert, or use SwitchTo().Alert() to handle an unhandled alert.")]
public IAlert Alert { get; }
See Also