UnhandledAlertException AlertText Property WebDriver
Gets the text of the unhandled alert.

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

public string AlertText { get; }
See Also