ダイアログ種類このページの内容種類ダイアログの種類を返します。alert、beforeunload、confirm、またはpromptのいずれかになります。 使用方法 await dialog.type() 例 dialogType.jsconst type = await dialog.type();