Skip to content

DialogContext.alert method

DialogContext › alert

Shows an alert, or lets the driver acknowledge it.

Signature:

alert(params: DialogContextAlertParams): Promise<void>

Parameters:

ParameterTypeDescription
paramsDialogContextAlertParamsThe parameters of the alert.

Returns: Promise<void> — A Promise that resolves when the alert is closed.