メインコンテンツにスキップ

種類

ダイアログの種類を返します。alertbeforeunloadconfirm、またはpromptのいずれかになります。

使用方法
await dialog.type()
dialogType.js
const type = await dialog.type();

ようこそ!何かお困りですか?

WebdriverIO AI Copilot