AcceptAlert Method (BrowserWindow)

Action

Accepts a JavaScript alert by pressing OK.

Syntax

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