APIdialogtypeDialog.type() methodSignature:type(): Protocol.Page.DialogType;Returns:Protocol.Page.DialogTypeThe type of the dialog.