Web Connector 12.13

# JsDialogTypeRegex

A regular expression that must match the dialog type for a dialog to be handled. You can specify:

- `Alert` - dialogs generated by the `alert()` method, which typically consist of a message and an "OK" button.
- `Confirm` - dialogs generated by the `confirm()` method, which typically consist of a message with "OK" and "Cancel" buttons.
- `Prompt` - dialogs generated by the `prompt()` method, which typically consist of a message, a text input box, and "OK" and "Cancel" buttons.
- `BeforeUnload` - a dialog presented by a `beforeunload` event handler.

Type: | Regular expression
Default: | `.*` (all types)
Required: | No
Configuration Section: | Any section specified by JsDialogSections, or TaskName
Example: | `JsDialogTypeRegex=Prompt`
See Also: | JsDialogMessageRegex JsDialogUrlRegex

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Web Connector 12.13

Topic Title: JsDialogTypeRegex