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

デフォルト値

ダイアログがプロンプトの場合、デフォルトのプロンプト値を返します。それ以外の場合は、空の文字列を返します。

使用方法
await dialog.defaultValue()
dialogDefaultValue.js
const value = await dialog.defaultValue();

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

WebdriverIO AI Copilot