Web Connector 25.3
Web Connector Help

# 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 2025 Open Text
Version 25.3 | Last updated July 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Web Connector 25.3

Topic Title: JsDialogTypeRegex