GetDialogText Method
Returns the text displayed in a browser message box, such as an alert, confirmation, or prompt.
C# Syntax
string GetDialogText()