puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.dialog.defaultvalue.md
2022-10-06 12:22:55 +02:00

261 B

sidebar_label
Dialog.defaultValue

Dialog.defaultValue() method

Signature:

class Dialog {
  defaultValue(): string;
}

Returns:

string

The default value of the prompt, or an empty string if the dialog is not a prompt.