puppeteer/new-docs/puppeteer.dialog.defaultvalue.md

458 B

Home > puppeteer > Dialog > defaultValue

Dialog.defaultValue() method

Signature:

defaultValue(): string;

Returns:

string

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