GetAlertText Method (BrowserWindow)

Action

Retrieves the message text of a JavaScript alert.

Syntax

C#
alertText = browserWindow.GetAlertText()
VB
alertText = browserWindow.GetAlertText()
Variable Description
alertText String.