AcceptAlert Method (BrowserWindow)

Class

BrowserWindow.

Action

Accepts a JavaScript alert by pressing OK.

Availability

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

Syntax

browserWindow.AcceptAlert([promptInput])
Variable Description
promptInput Optional: If the JavaScript alert is a prompt, this text is passed to the alert. String.