GetAlertText Method (BrowserWindow)

Class

BrowserWindow.

Action

Retrieves the message text of a JavaScript alert.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

alertText = browserWindow.GetAlertText()
Variable Description
alertText The message text of a JavaScript alert. String.