Page.javascriptDialogOpening
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.
{
"name": "javascriptDialogOpening",
"description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.",
"parameters": [
{
"name": "url",
"type": "string",
"description": "Frame url."
},
{
"name": "message",
"type": "string",
"description": "Message that will be displayed by the dialog."
},
{
"name": "type",
"$ref": "DialogType",
"description": "Dialog type."
},
{
"name": "defaultPrompt",
"optional": true,
"type": "string",
"description": "Default dialog prompt."
}
]
}