Back to Puppeteer

Dialog.defaultValue() method

website/versioned_docs/version-24.40.0/api/puppeteer.dialog.defaultvalue.md

19.2.2215 B
Original Source

Dialog.defaultValue() method

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

Signature

typescript
class Dialog {
  defaultValue(): string;
}

Returns:

string