Skip to main content

GUI: Get Alert

Description

Get Alert retrieves information from a JavaScript alert that is currently displayed in the browser. Use this step when your workflow needs to read the contents of an alert dialog — such as its type, message text, or default prompt value — and store that information in output fields for downstream processing. For example, you can capture an error message from an alert to log it or use it in a conditional branch. This step complements the Web Alert step: while Web Alert handles (accepts or cancels) the dialog, Get Alert reads its details.

Configurations

Field NameDescription
Step NameName of the step. The name must be unique in a single workflow.
The data type is string and the field is mandatory.
Web Browser NameYou can select any one Web Browser from the given list.
Note: You must select the same Web Browser Name which was selected in Start Browser Step.
Alert TypeSpecify the type of alert. The output field will hold the execution result. It gets the type of alert.
Default Value: AlertType
Alert MessageSpecify the alert message. The output field will hold the execution result. It gets the message in the alert.
Default Value: AlertMessage
Default PromptSpecify the default prompt. The output field will hold the execution result. It gets the prompt.
Default Value: DefaultPrompt