Handle Dialog Block
You need to use this block before the dialog occurs. For example, when a dialog is occurred after clicking an element.
Whether to accept or dismiss the dialog.
The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.