Chuyển đến nội dung chính

defaultValue

If dialog is prompt, returns default prompt value. Otherwise, returns empty string.

Usage

await dialog.defaultValue()

Example

dialogDefaultValue.js
const value = await dialog.defaultValue();

Welcome! How can I help?

WebdriverIO AI Copilot